[Goodies-commits] r5215 - in thunar-volman/trunk: . thunar-volman

Brian Tarricone kelnos at xfce.org
Tue Aug 12 10:54:16 CEST 2008


Author: kelnos
Date: 2008-08-12 08:54:15 +0000 (Tue, 12 Aug 2008)
New Revision: 5215

Modified:
   thunar-volman/trunk/ChangeLog
   thunar-volman/trunk/thunar-volman/tvm-block-device.h
   thunar-volman/trunk/thunar-volman/tvm-camera-device.h
   thunar-volman/trunk/thunar-volman/tvm-command-entry.h
   thunar-volman/trunk/thunar-volman/tvm-device.h
   thunar-volman/trunk/thunar-volman/tvm-input-device.h
   thunar-volman/trunk/thunar-volman/tvm-pango-extensions.h
   thunar-volman/trunk/thunar-volman/tvm-pda-device.h
   thunar-volman/trunk/thunar-volman/tvm-preferences-dialog.h
   thunar-volman/trunk/thunar-volman/tvm-preferences.h
   thunar-volman/trunk/thunar-volman/tvm-printer-device.h
   thunar-volman/trunk/thunar-volman/tvm-prompt.h
   thunar-volman/trunk/thunar-volman/tvm-run.h
   thunar-volman/trunk/thunar-volman/xfce-heading.h
   thunar-volman/trunk/thunar-volman/xfce-titled-dialog.h
Log:
2008-08-12  Brian Tarricone <bjt23 at cornell.edu>

    * thunar-volman/*.h: Remove semicolons after G_BEGIN_DECLS/G_END_DECLS
      macros; they'd be harmful if compiled with a C++ compiler.
      Patch from Colin Leroy.  Bug #3349.

Modified: thunar-volman/trunk/ChangeLog
===================================================================
--- thunar-volman/trunk/ChangeLog	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/ChangeLog	2008-08-12 08:54:15 UTC (rev 5215)
@@ -1,3 +1,9 @@
+2008-08-12  Brian Tarricone <bjt23 at cornell.edu>
+
+	* thunar-volman/*.h: Remove semicolons after G_BEGIN_DECLS/G_END_DECLS
+	  macros; they'd be harmful if compiled with a C++ compiler.
+	  Patch from Colin Leroy.  Bug #3349.
+
 2008-03-15	Benedikt Meurer <benny at xfce.org>
 
 	* thunar-volman/tvm-block-device.c: Apply patch from Tino Keitel

Modified: thunar-volman/trunk/thunar-volman/tvm-block-device.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-block-device.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-block-device.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <thunar-volman/tvm-device.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 gboolean tvm_block_device_added (TvmPreferences *preferences,
                                  LibHalContext  *context,
@@ -30,6 +30,6 @@
                                  const gchar    *capability,
                                  GError        **error) G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_BLOCK_DEVICE_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-camera-device.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-camera-device.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-camera-device.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <thunar-volman/tvm-device.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 gboolean tvm_camera_device_added (TvmPreferences *preferences,
                                   LibHalContext  *context,
@@ -30,6 +30,6 @@
                                   const gchar    *capability,
                                   GError        **error) G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_CAMERA_DEVICE_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-command-entry.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-command-entry.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-command-entry.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <exo/exo.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 typedef struct _TvmCommandEntryClass TvmCommandEntryClass;
 typedef struct _TvmCommandEntry      TvmCommandEntry;
@@ -56,6 +56,6 @@
 void         tvm_command_entry_set_command    (TvmCommandEntry *command_entry,
                                                const gchar     *command) G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_COMMAND_ENTRY_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-device.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-device.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-device.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -26,7 +26,7 @@
 
 #include <thunar-volman/tvm-preferences.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 /**
  * TvmDeviceCallback:
@@ -53,6 +53,6 @@
                            const gchar    *udi,
                            GError        **error) G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_DEVICE_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-input-device.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-input-device.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-input-device.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <thunar-volman/tvm-device.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 gboolean tvm_input_device_added (TvmPreferences *preferences,
                                  LibHalContext  *context,
@@ -30,6 +30,6 @@
                                  const gchar    *capability,
                                  GError        **error) G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_INPUT_DEVICE_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-pango-extensions.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-pango-extensions.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-pango-extensions.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <pango/pango.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 PangoAttrList *tvm_pango_attr_list_big               (void) G_GNUC_CONST G_GNUC_INTERNAL;
 PangoAttrList *tvm_pango_attr_list_big_bold          (void) G_GNUC_CONST G_GNUC_INTERNAL;
@@ -31,6 +31,6 @@
 PangoAttrList *tvm_pango_attr_list_small_italic      (void) G_GNUC_CONST G_GNUC_INTERNAL;
 PangoAttrList *tvm_pango_attr_list_underline_single  (void) G_GNUC_CONST G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_PANGO_EXTENSIONS_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-pda-device.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-pda-device.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-pda-device.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <thunar-volman/tvm-device.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 gboolean tvm_pda_device_added (TvmPreferences *preferences,
                                LibHalContext  *context,
@@ -30,6 +30,6 @@
                                const gchar    *capability,
                                GError        **error) G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_PDA_DEVICE_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-preferences-dialog.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-preferences-dialog.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-preferences-dialog.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <thunar-volman/tvm-preferences.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 typedef struct _TvmPreferencesDialogClass TvmPreferencesDialogClass;
 typedef struct _TvmPreferencesDialog      TvmPreferencesDialog;
@@ -38,6 +38,6 @@
 
 GtkWidget *tvm_preferences_dialog_new      (void) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_PREFERENCES_DIALOG_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-preferences.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-preferences.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-preferences.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <exo/exo.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 typedef struct _TvmPreferencesClass TvmPreferencesClass;
 typedef struct _TvmPreferences      TvmPreferences;
@@ -38,6 +38,6 @@
 
 TvmPreferences *tvm_preferences_get      (void);
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_PREFERENCES_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-printer-device.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-printer-device.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-printer-device.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <thunar-volman/tvm-device.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 gboolean tvm_printer_device_added (TvmPreferences *preferences,
                                    LibHalContext  *context,
@@ -30,6 +30,6 @@
                                    const gchar    *capability,
                                    GError        **error) G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_PRINTER_DEVICE_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-prompt.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-prompt.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-prompt.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <thunar-volman/tvm-device.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 enum
 {
@@ -46,6 +46,6 @@
                  const gchar   *first_button_text,
                  ...) G_GNUC_INTERNAL G_GNUC_NULL_TERMINATED;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_PROMPT_H__ */

Modified: thunar-volman/trunk/thunar-volman/tvm-run.h
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-run.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/tvm-run.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -22,7 +22,7 @@
 
 #include <thunar-volman/tvm-device.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 gboolean tvm_run_cdburner (TvmPreferences *preferences,
                            LibHalContext  *context,
@@ -41,6 +41,6 @@
                            const gchar    *mount_point,
                            GError        **error) G_GNUC_INTERNAL;
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__TVM_RUN_H__ */

Modified: thunar-volman/trunk/thunar-volman/xfce-heading.h
===================================================================
--- thunar-volman/trunk/thunar-volman/xfce-heading.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/xfce-heading.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -23,7 +23,7 @@
 
 #include <gtk/gtk.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 typedef struct _XfceHeadingPrivate XfceHeadingPrivate;
 typedef struct _XfceHeadingClass   XfceHeadingClass;
@@ -77,6 +77,6 @@
 void                  xfce_heading_set_title     (XfceHeading *heading,
                                                   const gchar *title);
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__XFCE_HEADING_H__ */

Modified: thunar-volman/trunk/thunar-volman/xfce-titled-dialog.h
===================================================================
--- thunar-volman/trunk/thunar-volman/xfce-titled-dialog.h	2008-08-10 21:43:51 UTC (rev 5214)
+++ thunar-volman/trunk/thunar-volman/xfce-titled-dialog.h	2008-08-12 08:54:15 UTC (rev 5215)
@@ -23,7 +23,7 @@
 
 #include <gtk/gtk.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 typedef struct _XfceTitledDialogPrivate XfceTitledDialogPrivate;
 typedef struct _XfceTitledDialogClass   XfceTitledDialogClass;
@@ -70,6 +70,6 @@
 void                  xfce_titled_dialog_set_subtitle     (XfceTitledDialog *titled_dialog,
                                                            const gchar      *subtitle);
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__XFCE_TITLED_DIALOG_H__ */




More information about the Goodies-commits mailing list