From 41801ae852305330937269b34f78f59301a01c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Fri, 16 May 2008 14:35:41 +0000 Subject: [PATCH] Rename BuildInfo struct to GeanyBuildInfo. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2595 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 2 ++ src/build.c | 2 +- src/build.h | 18 +++++++++--------- src/plugindata.h | 2 +- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index b2579fd2..016d510e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ src/templates.c, src/templates.h: Rename document struct to GeanyDocument. Rename filetype struct to GeanyFiletype. + * src/build.c, src/build.h, src/plugindata.h: + Rename BuildInfo struct to GeanyBuildInfo. 2008-05-16 Nick Treleaven diff --git a/src/build.c b/src/build.c index 62ed2e97..b721076d 100644 --- a/src/build.c +++ b/src/build.c @@ -58,7 +58,7 @@ #include "win32.h" -BuildInfo build_info = {GBO_COMPILE, 0, NULL, GEANY_FILETYPES_NONE, NULL}; +GeanyBuildInfo build_info = {GBO_COMPILE, 0, NULL, GEANY_FILETYPES_NONE, NULL}; static gchar *current_dir_entered = NULL; diff --git a/src/build.h b/src/build.h index 376ce56a..d6484f09 100644 --- a/src/build.h +++ b/src/build.h @@ -32,18 +32,18 @@ typedef enum /* Geany Build Options */ GBO_MAKE_ALL, GBO_MAKE_CUSTOM, GBO_MAKE_OBJECT -} build_type; +} GeanyBuildType; -typedef struct BuildInfo +typedef struct GeanyBuildInfo { - build_type type; /* current action(one of the above enumeration) */ - GPid pid; /* process id of the spawned process */ - gchar *dir; - guint file_type_id; - gchar *custom_target; -} BuildInfo; + GeanyBuildType type; /* current action(one of the above enumeration) */ + GPid pid; /* process id of the spawned process */ + gchar *dir; + guint file_type_id; + gchar *custom_target; +} GeanyBuildInfo; -extern BuildInfo build_info; +extern GeanyBuildInfo build_info; typedef struct BuildMenuItems diff --git a/src/plugindata.h b/src/plugindata.h index 7d3d5c01..c61ce0fb 100644 --- a/src/plugindata.h +++ b/src/plugindata.h @@ -165,7 +165,7 @@ typedef struct GeanyData struct GeanySearchPrefs *search_prefs; /**< Search-related settings */ struct GeanyToolPrefs *tool_prefs; /**< Tool settings */ struct GeanyTemplatePrefs *template_prefs; /**< Template settings */ - struct BuildInfo *build_info; /**< Current build information */ + struct GeanyBuildInfo *build_info; /**< Current build information */ struct DocumentFuncs *documents; /**< See document.h */ struct ScintillaFuncs *sci; /**< See sciwrappers.h */