Ticket #29296: patch-use_extern.diff
File patch-use_extern.diff, 6.7 KB (added by ak.ml@…, 13 years ago) |
---|
-
libgtkpod/gtkpod_app_iface.c
old new 695 695 GtkPodAppInterface *gp_iface = GTKPOD_APP_GET_INTERFACE (gtkpod_app); 696 696 return g_hash_table_get_keys(gp_iface->filetypes); 697 697 } 698 699 GtkPodApp *gtkpod_app; 700 guint gtkpod_app_signals[LAST_SIGNAL]; -
libgtkpod/gtkpod_app_iface.h
old new 80 80 } CONF_STATE; 81 81 82 82 /* predefined IDs for use with gtkpod_confirmation() */ 83 enum {83 typedef enum { 84 84 CONF_ID_IPOD_DIR = 0, 85 85 CONF_ID_GTKPOD_WARNING, 86 86 CONF_ID_DANGLING0, … … 245 245 FileType* gtkpod_get_filetype(gchar *name); 246 246 GList *gtkpod_get_filetypes(); 247 247 248 GtkPodApp *gtkpod_app;249 guint gtkpod_app_signals[LAST_SIGNAL];248 extern GtkPodApp *gtkpod_app; 249 extern guint gtkpod_app_signals[LAST_SIGNAL]; 250 250 251 251 #endif /* GTKPOD_APP_IFACE_H_ */ -
plugins/core_preferences/plugin.c
old new 41 41 #define PREFERENCE_ICON "core_prefs-gtkpod-category" 42 42 #define PREFERENCE_ICON_STOCK_ID "core_prefs-preference-icon" 43 43 44 CorePrefsPlugin *core_prefs_plugin; 45 44 46 /* Parent class. Part of standard class definition */ 45 47 static gpointer parent_class; 46 48 -
plugins/core_preferences/plugin.h
old new 61 61 AnjutaPluginClass parent_class; 62 62 }; 63 63 64 CorePrefsPlugin *core_prefs_plugin;64 extern CorePrefsPlugin *core_prefs_plugin; 65 65 66 66 #endif /* PLUGIN_H_ */ -
plugins/details_editor/plugin.c
old new 37 37 #include "details.h" 38 38 #include "details_editor_actions.h" 39 39 40 DetailsEditorPlugin *details_editor_plugin; 41 40 42 /* Parent class. Part of standard class definition */ 41 43 static gpointer parent_class; 42 44 -
plugins/details_editor/plugin.h
old new 52 52 AnjutaPluginClass parent_class; 53 53 }; 54 54 55 DetailsEditorPlugin *details_editor_plugin;55 extern DetailsEditorPlugin *details_editor_plugin; 56 56 57 57 #endif /* PLUGIN_H_ */ -
plugins/info_display/plugin.c
old new 37 37 #include "info.h" 38 38 #include "infoview.h" 39 39 40 InfoDisplayPlugin *info_display_plugin; 41 40 42 /* Parent class. Part of standard class definition */ 41 43 static gpointer parent_class; 42 44 -
plugins/info_display/plugin.h
old new 50 50 AnjutaPluginClass parent_class; 51 51 }; 52 52 53 InfoDisplayPlugin *info_display_plugin;53 extern InfoDisplayPlugin *info_display_plugin; 54 54 55 55 #endif /* PLUGIN_H_ */ -
plugins/photo_editor/plugin.c
old new 38 38 #include "photo_editor_actions.h" 39 39 #include "plugin.h" 40 40 41 PhotoEditorPlugin *photo_editor_plugin; 42 41 43 /* Parent class. Part of standard class definition */ 42 44 static gpointer parent_class; 43 45 -
plugins/photo_editor/plugin.h
old new 59 59 AnjutaPluginClass parent_class; 60 60 }; 61 61 62 PhotoEditorPlugin *photo_editor_plugin;62 extern PhotoEditorPlugin *photo_editor_plugin; 63 63 64 64 #endif /* PLUGIN_H_ */ -
plugins/repository_editor/plugin.c
old new 37 37 #include "repository.h" 38 38 #include "repository_actions.h" 39 39 40 RepositoryEditorPlugin *repository_editor_plugin; 41 40 42 /* Parent class. Part of standard class definition */ 41 43 static gpointer parent_class; 42 44 -
plugins/repository_editor/plugin.h
old new 51 51 AnjutaPluginClass parent_class; 52 52 }; 53 53 54 RepositoryEditorPlugin *repository_editor_plugin;54 extern RepositoryEditorPlugin *repository_editor_plugin; 55 55 56 56 #endif /* PLUGIN_H_ */ -
plugins/sorttab_display/display_sorttabs.c
old new 83 83 84 84 GtkBuilder *cal_xml; 85 85 86 GtkPaned *sorttab_parent; 87 86 88 /* ---------------------------------------------------------------- */ 87 89 /* */ 88 90 /* Section for filter tab display (callback) */ -
plugins/sorttab_display/display_sorttabs.h
old new 119 119 #define SP_SHIFT 9 120 120 #define SP_MASK ((1<<SP_SHIFT)-1) 121 121 122 GtkPaned *sorttab_parent;122 extern GtkPaned *sorttab_parent; 123 123 124 124 void st_create_tabs(GtkPaned *parent, gchar *glade_path); 125 125 void st_init(ST_CAT_item new_category, guint32 inst);