[Xfce4-commits] <thunar:master> Remove the G_GNUC_INTERNAL attributes from thunar too.

Nick Schermer noreply at xfce.org
Sun Sep 27 10:54:04 CEST 2009


Updating branch refs/heads/master
         to 06f8199c66a8c85c6947a7752117e7bc63f2d3c2 (commit)
       from 3a04e52bf8c664bdf1c391e8a201ef262c7d717b (commit)

commit 06f8199c66a8c85c6947a7752117e7bc63f2d3c2
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Sep 27 10:42:26 2009 +0200

    Remove the G_GNUC_INTERNAL attributes from thunar too.
    
    They have no effect on binaries.

 thunar/thunar-dialogs.h            |   14 +++++++-------
 thunar/thunar-enum-types.h         |   22 +++++++++++-----------
 thunar/thunar-exec.h               |    6 +++---
 thunar/thunar-gdk-extensions.h     |    4 ++--
 thunar/thunar-gobject-extensions.h |    2 +-
 thunar/thunar-gtk-extensions.h     |   14 +++++++-------
 thunar/thunar-pango-extensions.h   |   12 ++++++------
 thunar/thunar-stock.h              |    2 +-
 thunar/thunar-util.h               |    8 ++++----
 9 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/thunar/thunar-dialogs.h b/thunar/thunar-dialogs.h
index 1422b40..67a4f74 100644
--- a/thunar/thunar-dialogs.h
+++ b/thunar/thunar-dialogs.h
@@ -27,32 +27,32 @@
 G_BEGIN_DECLS;
 
 ThunarJob         *thunar_dialogs_show_rename_file     (GtkWindow            *parent,
-                                                        ThunarFile           *file) G_GNUC_INTERNAL;
+                                                        ThunarFile           *file);
 
 void               thunar_dialogs_show_about           (GtkWindow            *parent,
                                                         const gchar          *title,
                                                         const gchar          *format,
-                                                        ...) G_GNUC_INTERNAL G_GNUC_PRINTF (3, 4);
+                                                        ...) G_GNUC_PRINTF (3, 4);
 
 void               thunar_dialogs_show_error           (gpointer              parent,
                                                         const GError         *error,
                                                         const gchar          *format,
-                                                        ...) G_GNUC_INTERNAL G_GNUC_PRINTF (3, 4);
+                                                        ...) G_GNUC_PRINTF (3, 4);
 
 void               thunar_dialogs_show_help            (gpointer              parent,
                                                         const gchar          *page,
-                                                        const gchar          *offset) G_GNUC_INTERNAL;
+                                                        const gchar          *offset);
 
 ThunarJobResponse  thunar_dialogs_show_job_ask         (GtkWindow            *parent,
                                                         const gchar          *question,
-                                                        ThunarJobResponse     choices) G_GNUC_INTERNAL;
+                                                        ThunarJobResponse     choices);
 
 ThunarJobResponse  thunar_dialogs_show_job_ask_replace (GtkWindow            *parent,
                                                         ThunarFile           *src_file,
-                                                        ThunarFile           *dst_file) G_GNUC_INTERNAL;
+                                                        ThunarFile           *dst_file);
 
 void               thunar_dialogs_show_job_error       (GtkWindow            *parent,
-                                                        GError               *error) G_GNUC_INTERNAL;
+                                                        GError               *error);
 
 G_END_DECLS;
 
diff --git a/thunar/thunar-enum-types.h b/thunar/thunar-enum-types.h
index a6c49f2..c5f78ba 100644
--- a/thunar/thunar-enum-types.h
+++ b/thunar/thunar-enum-types.h
@@ -42,7 +42,7 @@ typedef enum
   THUNAR_RENAMER_MODE_BOTH,
 } ThunarRenamerMode;
 
-GType thunar_renamer_mode_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_renamer_mode_get_type (void) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_COLOR_STYLE (thunar_color_style_get_type ())
@@ -62,7 +62,7 @@ typedef enum
   THUNAR_COLOR_STYLE_VGRADIENT,
 } ThunarColorStyle;
 
-GType thunar_color_style_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_color_style_get_type (void) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_DATE_STYLE (thunar_date_style_get_type ())
@@ -84,7 +84,7 @@ typedef enum
   THUNAR_DATE_STYLE_ISO,
 } ThunarDateStyle;
 
-GType thunar_date_style_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_date_style_get_type (void) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_COLUMN (thunar_column_get_type ())
@@ -130,7 +130,7 @@ typedef enum
   THUNAR_N_VISIBLE_COLUMNS = THUNAR_COLUMN_FILE,
 } ThunarColumn;
 
-GType thunar_column_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_column_get_type (void) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_ICON_SIZE (thunar_icon_size_get_type ())
@@ -158,7 +158,7 @@ typedef enum
   THUNAR_ICON_SIZE_LARGEST  = 128,
 } ThunarIconSize;
 
-GType thunar_icon_size_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_icon_size_get_type (void) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_RECURSIVE_PERMISSIONS (thunar_recursive_permissions_get_type ())
@@ -178,7 +178,7 @@ typedef enum
   THUNAR_RECURSIVE_PERMISSIONS_NEVER,
 } ThunarRecursivePermissionsMode;
 
-GType thunar_recursive_permissions_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_recursive_permissions_get_type (void) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_WALLPAPER_STYLE (thunar_wallpaper_style_get_type ())
@@ -200,7 +200,7 @@ typedef enum
   THUNAR_WALLPAPER_STYLE_TILED,
 } ThunarWallpaperStyle;
 
-GType thunar_wallpaper_style_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_wallpaper_style_get_type (void) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_ZOOM_LEVEL (thunar_zoom_level_get_type ())
@@ -232,8 +232,8 @@ typedef enum
   THUNAR_ZOOM_N_LEVELS,
 } ThunarZoomLevel;
 
-GType          thunar_zoom_level_get_type     (void) G_GNUC_CONST G_GNUC_INTERNAL;
-ThunarIconSize thunar_zoom_level_to_icon_size (ThunarZoomLevel zoom_level) G_GNUC_CONST G_GNUC_INTERNAL;
+GType          thunar_zoom_level_get_type     (void) G_GNUC_CONST;
+ThunarIconSize thunar_zoom_level_to_icon_size (ThunarZoomLevel zoom_level) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_JOB_RESPONSE (thunar_job_response_get_type ())
@@ -259,7 +259,7 @@ typedef enum /*< flags >*/
   THUNAR_JOB_RESPONSE_RETRY   = 1 << 5,
 } ThunarJobResponse;
 
-GType thunar_job_response_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_job_response_get_type (void) G_GNUC_CONST;
 
 
 #define THUNAR_TYPE_FILE_MODE (thunar_file_mode_get_type ())
@@ -288,7 +288,7 @@ typedef enum /*< flags >*/
   THUNAR_FILE_MODE_OTH_EXEC   = 00001,
 } ThunarFileMode;
 
-GType thunar_file_mode_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+GType thunar_file_mode_get_type (void) G_GNUC_CONST;
 
 G_END_DECLS;
 
diff --git a/thunar/thunar-exec.h b/thunar/thunar-exec.h
index 99eda8c..1978f98 100644
--- a/thunar/thunar-exec.h
+++ b/thunar/thunar-exec.h
@@ -34,7 +34,7 @@ gboolean thunar_exec_parse     (const gchar  *exec,
                                 gboolean      terminal,
                                 gint         *argc,
                                 gchar      ***argv,
-                                GError      **error) G_GNUC_INTERNAL;
+                                GError      **error);
 
 gboolean thunar_exec_on_screen (GdkScreen    *screen,
                                 const gchar  *working_directory,
@@ -43,11 +43,11 @@ gboolean thunar_exec_on_screen (GdkScreen    *screen,
                                 GSpawnFlags   flags,
                                 gboolean      startup_notify,
                                 const gchar  *icon_name,
-                                GError      **error) G_GNUC_INTERNAL;
+                                GError      **error);
 
 gboolean thunar_exec_sync      (const gchar  *command_line,
                                 GError      **error,
-                                ...) G_GNUC_INTERNAL;
+                                ...);
 
 G_END_DECLS;
 
diff --git a/thunar/thunar-gdk-extensions.h b/thunar/thunar-gdk-extensions.h
index 7fbb0e9..8cd3885 100644
--- a/thunar/thunar-gdk-extensions.h
+++ b/thunar/thunar-gdk-extensions.h
@@ -25,9 +25,9 @@
 G_BEGIN_DECLS;
 
 GdkScreen *thunar_gdk_screen_open       (const gchar *display_name,
-                                         GError     **error) G_GNUC_INTERNAL;
+                                         GError     **error);
 
-GdkScreen *thunar_gdk_screen_get_active (void) G_GNUC_INTERNAL;
+GdkScreen *thunar_gdk_screen_get_active (void);
 
 G_END_DECLS;
 
diff --git a/thunar/thunar-gobject-extensions.h b/thunar/thunar-gobject-extensions.h
index 47440ae..45bb4b4 100644
--- a/thunar/thunar-gobject-extensions.h
+++ b/thunar/thunar-gobject-extensions.h
@@ -37,7 +37,7 @@ G_BEGIN_DECLS;
 #define G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec) G_STMT_START{ (void)0; }G_STMT_END
 #endif
 
-void thunar_g_initialize_transformations (void) G_GNUC_INTERNAL;
+void thunar_g_initialize_transformations (void);
 
 G_END_DECLS;
 
diff --git a/thunar/thunar-gtk-extensions.h b/thunar/thunar-gtk-extensions.h
index a3f1de0..4fe57fe 100644
--- a/thunar/thunar-gtk-extensions.h
+++ b/thunar/thunar-gtk-extensions.h
@@ -26,32 +26,32 @@ G_BEGIN_DECLS;
 
 void         thunar_gtk_action_set_tooltip                (GtkAction          *action,
                                                            const gchar        *format,
-                                                           ...) G_GNUC_INTERNAL G_GNUC_PRINTF (2, 3);
+                                                           ...) G_GNUC_PRINTF (2, 3);
 
 void         thunar_gtk_action_group_set_action_sensitive (GtkActionGroup     *action_group,
                                                            const gchar        *action_name,
-                                                           gboolean            sensitive) G_GNUC_INTERNAL;
+                                                           gboolean            sensitive);
 
 void         thunar_gtk_icon_factory_insert_icon          (GtkIconFactory     *icon_factory,
                                                            const gchar        *stock_id,
-                                                           const gchar        *icon_name) G_GNUC_INTERNAL;
+                                                           const gchar        *icon_name);
 
 void         thunar_gtk_label_set_a11y_relation           (GtkLabel           *label,
-                                                           GtkWidget          *widget) G_GNUC_INTERNAL;
+                                                           GtkWidget          *widget);
 
 void         thunar_gtk_menu_run                          (GtkMenu            *menu,
                                                            gpointer            parent,
                                                            GtkMenuPositionFunc func,
                                                            gpointer            data,
                                                            guint               button,
-                                                           guint32             activate_time) G_GNUC_INTERNAL;
+                                                           guint32             activate_time);
 
 GtkAction   *thunar_gtk_ui_manager_get_action_by_name     (GtkUIManager       *ui_manager,
-                                                           const gchar        *action_name) G_GNUC_INTERNAL;
+                                                           const gchar        *action_name);
 
 void         thunar_gtk_widget_set_tooltip                (GtkWidget          *widget,
                                                            const gchar        *format,
-                                                           ...) G_GNUC_INTERNAL G_GNUC_PRINTF (2, 3);
+                                                           ...) G_GNUC_PRINTF (2, 3);
 
 G_END_DECLS;
 
diff --git a/thunar/thunar-pango-extensions.h b/thunar/thunar-pango-extensions.h
index d3f37eb..7c91e21 100644
--- a/thunar/thunar-pango-extensions.h
+++ b/thunar/thunar-pango-extensions.h
@@ -24,12 +24,12 @@
 
 G_BEGIN_DECLS;
 
-PangoAttrList *thunar_pango_attr_list_big               (void) G_GNUC_CONST G_GNUC_INTERNAL;
-PangoAttrList *thunar_pango_attr_list_big_bold          (void) G_GNUC_CONST G_GNUC_INTERNAL;
-PangoAttrList *thunar_pango_attr_list_bold              (void) G_GNUC_CONST G_GNUC_INTERNAL;
-PangoAttrList *thunar_pango_attr_list_italic            (void) G_GNUC_CONST G_GNUC_INTERNAL;
-PangoAttrList *thunar_pango_attr_list_small_italic      (void) G_GNUC_CONST G_GNUC_INTERNAL;
-PangoAttrList *thunar_pango_attr_list_underline_single  (void) G_GNUC_CONST G_GNUC_INTERNAL;
+PangoAttrList *thunar_pango_attr_list_big               (void) G_GNUC_CONST;
+PangoAttrList *thunar_pango_attr_list_big_bold          (void) G_GNUC_CONST;
+PangoAttrList *thunar_pango_attr_list_bold              (void) G_GNUC_CONST;
+PangoAttrList *thunar_pango_attr_list_italic            (void) G_GNUC_CONST;
+PangoAttrList *thunar_pango_attr_list_small_italic      (void) G_GNUC_CONST;
+PangoAttrList *thunar_pango_attr_list_underline_single  (void) G_GNUC_CONST;
 
 G_END_DECLS;
 
diff --git a/thunar/thunar-stock.h b/thunar/thunar-stock.h
index 775b3e0..9fa3b6e 100644
--- a/thunar/thunar-stock.h
+++ b/thunar/thunar-stock.h
@@ -36,7 +36,7 @@ G_BEGIN_DECLS;
 #define THUNAR_STOCK_VIDEOS       "thunar-videos"
 #define THUNAR_STOCK_PUBLIC       "thunar-public"
 
-void thunar_stock_init (void) G_GNUC_INTERNAL;
+void thunar_stock_init (void);
 
 G_END_DECLS;
 
diff --git a/thunar/thunar-util.h b/thunar/thunar-util.h
index 448314a..e512b1e 100644
--- a/thunar/thunar-util.h
+++ b/thunar/thunar-util.h
@@ -25,18 +25,18 @@
 
 G_BEGIN_DECLS;
 
-gboolean   thunar_util_looks_like_an_uri  (const gchar      *string) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
+gboolean   thunar_util_looks_like_an_uri  (const gchar      *string) G_GNUC_WARN_UNUSED_RESULT;
 
 gchar     *thunar_util_expand_filename    (const gchar    *filename,
                                            GError        **error);
 
 gchar     *thunar_util_humanize_file_time (guint64         file_time,
-                                           ThunarDateStyle date_style) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
+                                           ThunarDateStyle date_style) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
 
 GdkScreen *thunar_util_parse_parent       (gpointer        parent,
-                                           GtkWindow     **window_return) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
+                                           GtkWindow     **window_return) G_GNUC_WARN_UNUSED_RESULT;
 
-time_t     thunar_util_time_from_rfc3339  (const gchar    *date_string) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
+time_t     thunar_util_time_from_rfc3339  (const gchar    *date_string) G_GNUC_WARN_UNUSED_RESULT;
 
 G_END_DECLS;
 



More information about the Xfce4-commits mailing list