Skip to content
Snippets Groups Projects
Commit 06f8199c authored by Nick Schermer's avatar Nick Schermer
Browse files

Remove the G_GNUC_INTERNAL attributes from thunar too.

They have no effect on binaries.
parent 3a04e52b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment