summaryrefslogtreecommitdiff
path: root/gtk/gtkinputdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkinputdialog.h')
-rw-r--r--gtk/gtkinputdialog.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk/gtkinputdialog.h b/gtk/gtkinputdialog.h
index e386240722..1a1a648994 100644
--- a/gtk/gtkinputdialog.h
+++ b/gtk/gtkinputdialog.h
@@ -42,10 +42,7 @@
#include <gtk/gtkdialog.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GTK_TYPE_INPUT_DIALOG (gtk_input_dialog_get_type ())
#define GTK_INPUT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_INPUT_DIALOG, GtkInputDialog))
@@ -97,9 +94,6 @@ GType gtk_input_dialog_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_input_dialog_new (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_INPUTDIALOG_H__ */