diff options
Diffstat (limited to 'widgets/misc/e-dropdown-button.h')
-rw-r--r-- | widgets/misc/e-dropdown-button.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/widgets/misc/e-dropdown-button.h b/widgets/misc/e-dropdown-button.h index 19f678b4eb..f58cd73085 100644 --- a/widgets/misc/e-dropdown-button.h +++ b/widgets/misc/e-dropdown-button.h @@ -29,10 +29,7 @@ #include <gtk/gtk.h> -#ifdef __cplusplus -extern "C" { -#pragma } -#endif /* __cplusplus */ +G_BEGIN_DECLS #define E_TYPE_DROPDOWN_BUTTON (e_dropdown_button_get_type ()) #define E_DROPDOWN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_DROPDOWN_BUTTON, EDropdownButton)) @@ -63,8 +60,6 @@ void e_dropdown_button_construct (EDropdownButton *dropdown_button, GtkWidget *e_dropdown_button_new (const gchar *label_text, GtkMenu *menu); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* _E_DROPDOWN_BUTTON_H_ */ |