Revision: 2626 http://geany.svn.sourceforge.net/geany/?rev=2626&view=rev Author: eht16 Date: 2008-05-29 11:02:20 -0700 (Thu, 29 May 2008)
Log Message: ----------- Remove underscore prefix from some struct names.
Modified Paths: -------------- trunk/ChangeLog trunk/src/document.h trunk/src/filetypes.h trunk/src/geany.h trunk/src/plugindata.h trunk/src/project.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-05-29 17:31:27 UTC (rev 2625) +++ trunk/ChangeLog 2008-05-29 18:02:20 UTC (rev 2626) @@ -1,3 +1,10 @@ +2008-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/project.h, src/plugindata.h, src/geany.h, src/filetypes.h, + src/document.h: + Remove underscore prefix from some struct names. + + 2008-05-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/win32.c, src/keybindings.c,
Modified: trunk/src/document.h =================================================================== --- trunk/src/document.h 2008-05-29 17:31:27 UTC (rev 2625) +++ trunk/src/document.h 2008-05-29 18:02:20 UTC (rev 2626) @@ -71,7 +71,7 @@ /** * Structure for representing an open tab with all its properties. **/ -typedef struct _GeanyDocument +typedef struct GeanyDocument { /** General flag to represent this document is active and all properties are set correctly. */ gboolean is_valid;
Modified: trunk/src/filetypes.h =================================================================== --- trunk/src/filetypes.h 2008-05-29 17:31:27 UTC (rev 2625) +++ trunk/src/filetypes.h 2008-05-29 18:02:20 UTC (rev 2626) @@ -102,7 +102,7 @@ gboolean modified; };
-struct _GeanyFiletype +struct GeanyFiletype { filetype_id id; langType lang; /* represents the langType of tagmanager(see the table */
Modified: trunk/src/geany.h =================================================================== --- trunk/src/geany.h 2008-05-29 17:31:27 UTC (rev 2625) +++ trunk/src/geany.h 2008-05-29 18:02:20 UTC (rev 2626) @@ -55,8 +55,8 @@
/* useful forward declarations */ -typedef struct _GeanyFiletype GeanyFiletype; -typedef struct _GeanyProject GeanyProject; +typedef struct GeanyFiletype GeanyFiletype; +typedef struct GeanyProject GeanyProject;
/* Important commonly-used items. */
Modified: trunk/src/plugindata.h =================================================================== --- trunk/src/plugindata.h 2008-05-29 17:31:27 UTC (rev 2625) +++ trunk/src/plugindata.h 2008-05-29 18:02:20 UTC (rev 2626) @@ -201,21 +201,21 @@ /* See document.h */ typedef struct DocumentFuncs { - gint (*new_file) (const gchar *filename, struct _GeanyFiletype *ft, const gchar *text); + gint (*new_file) (const gchar *filename, struct GeanyFiletype *ft, const gchar *text); gint (*get_cur_idx) (void); gint (*get_n_idx) (guint i); gint (*find_by_filename) (const gchar *filename, gboolean is_tm_filename); - struct _GeanyDocument* (*get_current) (void); + struct GeanyDocument* (*get_current) (void); gboolean (*save_file) (gint idx, gboolean force); gint (*open_file) (const gchar *locale_filename, gboolean readonly, - struct _GeanyFiletype *ft, const gchar *forced_enc); - void (*open_files) (const GSList *filenames, gboolean readonly, struct _GeanyFiletype *ft, + struct GeanyFiletype *ft, const gchar *forced_enc); + void (*open_files) (const GSList *filenames, gboolean readonly, struct GeanyFiletype *ft, const gchar *forced_enc); gboolean (*remove) (guint page_num); gboolean (*reload_file) (gint idx, const gchar *forced_enc); void (*set_encoding) (gint idx, const gchar *new_encoding); void (*set_text_changed) (gint idx); - void (*set_filetype) (gint idx, struct _GeanyFiletype *type); + void (*set_filetype) (gint idx, struct GeanyFiletype *type); } DocumentFuncs;
@@ -444,8 +444,8 @@ #define GEANY_FILETYPES_ALL \ GEANY_FILETYPES_NONE
-typedef struct _GeanyDocument document; -typedef struct _GeanyFiletype filetype; +typedef struct GeanyDocument document; +typedef struct GeanyFiletype filetype;
typedef PluginCallback GeanyCallback; #define geany_callbacks plugin_callbacks
Modified: trunk/src/project.h =================================================================== --- trunk/src/project.h 2008-05-29 17:31:27 UTC (rev 2625) +++ trunk/src/project.h 2008-05-29 18:02:20 UTC (rev 2626) @@ -29,7 +29,7 @@
/* structure for representing a project. */ -struct _GeanyProject +struct GeanyProject { gchar *name; /* the name of the project */ gchar *description; /* short description of the project */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.