summaryrefslogtreecommitdiff
path: root/capplets/common/file-transfer-dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/common/file-transfer-dialog.h')
-rw-r--r--capplets/common/file-transfer-dialog.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/capplets/common/file-transfer-dialog.h b/capplets/common/file-transfer-dialog.h
index 140b1510..530d1cce 100644
--- a/capplets/common/file-transfer-dialog.h
+++ b/capplets/common/file-transfer-dialog.h
@@ -24,11 +24,10 @@
#ifndef __FILE_TRANSFER_DIALOG_H__
#define __FILE_TRANSFER_DIALOG_H__
+#include <glib.h>
#include <gtk/gtk.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
#define FILE_TRANSFER_DIALOG(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, file_transfer_dialog_get_type (), FileTransferDialog)
#define FILE_TRANSFER_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, file_transfer_dialog_get_type (), FileTransferDialogClass)
@@ -66,8 +65,6 @@ void file_transfer_dialog_copy_async (FileTransferDialog *dlg,
int priority);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __FILE_TRANSFER_DIALOG_H__ */