Commit eb884f79 authored by Martin Baulig's avatar Martin Baulig Committed by Martin Baulig

Use G_BEGIN/END_DECLS everywhere.

2001-08-06  Martin Baulig  <baulig@suse.de>

	* *.h: Use G_BEGIN/END_DECLS everywhere.
parent 93c13b30
......@@ -93,6 +93,6 @@ void aligned_widget_change_align (AlignedWidget *aligned,
void aligned_widget_change_align_edge (AlignedWidget *aligned,
AlignedAlignment align,
BorderEdge edge);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -287,6 +287,6 @@ CORBA_Object_release(func(CORBA_ORB_resolve_initial_references(gnome_CORBA_ORB()
#define APPLET_DEACTIVATE(func, goad_id, apldat) { CORBA_Environment ev; CORBA_exception_init(&ev); \
func(CORBA_ORB_resolve_initial_references(gnome_CORBA_ORB(), "RootPOA", &ev), goad_id, apldat, &ev); CORBA_exception_free(&ev); }
END_GNOME_DECLS
G_END_DECLS
#endif /* __APPLET_WIDGET_H__ */
......@@ -84,6 +84,6 @@ void show_applet_menu (AppletInfo *info, GdkEventButton *event);
* removed launchers */
void remove_unused_launchers (void);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -314,6 +314,6 @@ void basep_border_get (int screen,
#define GNOME_PANEL_HINTS (WIN_HINTS_SKIP_FOCUS|WIN_HINTS_SKIP_WINLIST|WIN_HINTS_SKIP_TASKBAR)
END_GNOME_DECLS
G_END_DECLS
#endif /* __BASEP_WIDGET_H__ */
......@@ -91,5 +91,5 @@ void border_widget_change_params (BorderWidget *border,
void border_widget_change_edge (BorderWidget *border, BorderEdge edge);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -21,6 +21,6 @@ int conditional_get_int (const char *key,
/* get key and treat it as a conditional, if missing, it's true */
gboolean conditional_true (const char *key);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -33,6 +33,6 @@ DistributionType get_distribution_type (void) G_GNUC_CONST;
* would be really going overboard */
const DistributionInfo *get_distribution_info (void) G_GNUC_CONST;
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -94,6 +94,6 @@ void drawer_widget_close_drawer (DrawerWidget *panel,
void drawer_widget_restore_state (DrawerWidget *drawer);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -24,6 +24,6 @@ void set_drawer_applet_orient(Drawer *drawer, PanelOrientType orient);
void add_drawer_properties_page(PerPanelConfig *ppc, GtkNotebook *prop_nbook, Drawer *drawer);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -61,6 +61,6 @@ GtkWidget *edge_widget_new (int screen,
gboolean rotate_pixmap_bg,
GdkColor *back_color);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -75,7 +75,7 @@ void save_applet (AppletInfo *info,
void extern_save_last_position (Extern *ext, gboolean sync);
END_GNOME_DECLS
G_END_DECLS
......
......@@ -88,6 +88,6 @@ void floating_widget_change_coords (FloatingWidget *floating,
void floating_widget_change_orient (FloatingWidget *floating,
PanelOrientation orient);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -79,6 +79,6 @@ void foobar_widget_force_menu_remake (void);
void foobar_widget_global_set_clock_format (const char *format);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -72,6 +72,6 @@ Launcher * find_launcher (const char *path);
/* make file name from base */
char * launcher_file_name (const char *base);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -15,6 +15,6 @@ BEGIN_GNOME_DECLS
void load_logout_applet(PanelWidget *panel, int pos, gboolean exactpos);
void load_lock_applet(PanelWidget *panel, int pos, gboolean exactpos);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -7,6 +7,6 @@ BEGIN_GNOME_DECLS
void start_screen_check (void);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -79,6 +79,6 @@ void init_fr_chunks (void);
void free_mfile (MFile *mfile);
void free_mfile_list (GSList *list);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -9,7 +9,7 @@ char * get_real_menu_path (const char *arguments);
char * get_pixmap (const char *menudir,
gboolean main_menu);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -8,7 +8,7 @@ void rh_submenu_to_display(GtkWidget *menuw, GtkMenuItem *menuitem);
#define REDHAT_MENUDIR "/etc/X11/wmconfig"
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -8,6 +8,6 @@ void panel_menu_position (GtkMenu *menu, gint *x, gint *y, gpointer data);
GtkWidget * add_menu_separator (GtkWidget *menu);
int get_default_menu_flags (void) G_GNUC_CONST;
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -184,6 +184,6 @@ enum {
#define MENU_LEVEL_NORMAL "level-normal"
#define MENU_LEVEL_BELOW "level-below"
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -94,6 +94,6 @@ char * panel_gnome_kde_help_path (const char *docpath);
gboolean panel_is_url (const char *url);
END_GNOME_DECLS
G_END_DECLS
#endif /* PANEL_UTIL_H */
......@@ -264,6 +264,6 @@ void panel_widget_get_applet_rgb_bg(PanelWidget *panel,
extern gboolean panel_applet_in_drag;
END_GNOME_DECLS
G_END_DECLS
#endif /* PANEL_WIDGET_H */
......@@ -47,6 +47,6 @@ void status_unparent (GtkWidget *widget);
(PANEL_WIDGET(GTK_WIDGET(appletw)->parent)->panel_parent)
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -58,6 +58,6 @@ void convert_old_config(void);
char * get_correct_prefix (char const **sep);
void push_correct_global_prefix (void);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -102,6 +102,6 @@ void sliding_widget_change_anchor_offset_edge (SlidingWidget *sliding,
SlidingAnchor anchor,
gint16 offset,
BorderEdge edge);
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -75,6 +75,6 @@ GtkObject* status_docklet_new_full (int maximum_retries,
calls the build_plug signal with the plug that it has added */
void status_docklet_run (StatusDocklet *docklet);
END_GNOME_DECLS
G_END_DECLS
#endif /* __STATUS_DOCKLET_H__ */
......@@ -48,6 +48,6 @@ StatusSpot * status_applet_get_ss(guint32 winid);
/*inhibit adding and updating for the purpose of quitting*/
extern gboolean status_inhibit;
END_GNOME_DECLS
G_END_DECLS
#endif
......@@ -32,6 +32,6 @@ void set_swallow_applet_orient(Swallow *swallow, SwallowOrient orient);
/*I couldn't resist the naming of this function*/
void ask_about_swallowing(PanelWidget *panel, int pos, gboolean exactpos);
END_GNOME_DECLS
G_END_DECLS
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment