diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2018-08-02 19:27:10 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2018-08-02 19:27:10 -0300 |
commit | 0b1d4e99e1f12b61f473d70c86eef03caa88a537 (patch) | |
tree | 6372e9c3c8f69ff5a37bb61da36a35047fe3605e /gladeui/glade-utils.h | |
parent | 583e024ef8f3ccdfc2d4aa9886f77aee46cd1caf (diff) | |
download | glade-0b1d4e99e1f12b61f473d70c86eef03caa88a537.tar.gz |
Fix tab/space identation
Diffstat (limited to 'gladeui/glade-utils.h')
-rw-r--r-- | gladeui/glade-utils.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/gladeui/glade-utils.h b/gladeui/glade-utils.h index e5d928d6..54204b04 100644 --- a/gladeui/glade-utils.h +++ b/gladeui/glade-utils.h @@ -26,20 +26,20 @@ typedef enum /* UI interaction */ gboolean glade_util_ui_message (GtkWidget *parent, - GladeUIMessageType type, - GtkWidget *widget, - const gchar *format, + GladeUIMessageType type, + GtkWidget *widget, + const gchar *format, ...) G_GNUC_PRINTF (4, 5); -void glade_util_flash_message (GtkWidget *statusbar, - guint context_id, - gchar *format, +void glade_util_flash_message (GtkWidget *statusbar, + guint context_id, + gchar *format, ...) G_GNUC_PRINTF (3, 4); gboolean glade_util_url_show (const gchar *url); GtkWidget *glade_util_file_dialog_new (const gchar *title, - GladeProject *project, - GtkWindow *parent, - GladeUtilFileDialogType action); + GladeProject *project, + GtkWindow *parent, + GladeUtilFileDialogType action); /* Strings */ gint glade_util_compare_stock_labels (gconstpointer a, gconstpointer b); @@ -51,7 +51,7 @@ gchar *glade_util_duplicate_underscores (const gchar *name); /* GModule stuff */ -GType glade_util_get_type_from_name (const gchar *name, gboolean have_func); +GType glade_util_get_type_from_name (const gchar *name, gboolean have_func); GParamSpec *glade_utils_get_pspec_from_funcname (const gchar *funcname); GModule *glade_util_load_library (const gchar *library_name); @@ -64,18 +64,18 @@ gchar *glade_utils_flags_string_from_value (GType enum_type, gint val gchar *glade_utils_flags_string_from_value_displayable (GType flags_type, gint value); gchar *glade_utils_enum_string_from_value_displayable (GType flags_type, gint value); GValue *glade_utils_value_from_string (GType type, - const gchar *string, - GladeProject *project); + const gchar *string, + GladeProject *project); gchar *glade_utils_string_from_value (const GValue *value); gboolean glade_utils_boolean_from_string (const gchar *string, - gboolean *value); + gboolean *value); /* Devhelp */ gboolean glade_util_have_devhelp (void); GtkWidget *glade_util_get_devhelp_icon (GtkIconSize size); void glade_util_search_devhelp (const gchar *book, - const gchar *page, - const gchar *search); + const gchar *page, + const gchar *search); /* Files/Filenames*/ gchar *glade_utils_replace_home_dir_with_tilde (const gchar *path); @@ -87,51 +87,51 @@ gchar *glade_util_icon_name_to_filename (const gchar *value); /* Cairo utilities */ void glade_utils_cairo_draw_line (cairo_t *cr, - GdkColor *color, - gint x1, - gint y1, - gint x2, - gint y2); + GdkColor *color, + gint x1, + gint y1, + gint x2, + gint y2); void glade_utils_cairo_draw_rectangle (cairo_t *cr, - GdkColor *color, - gboolean filled, - gint x, - gint y, - gint width, - gint height); + GdkColor *color, + gboolean filled, + gint x, + gint y, + gint width, + gint height); /* Lists */ GList *glade_util_purify_list (GList *list); GList *glade_util_added_in_list (GList *old_list, - GList *new_list); + GList *new_list); GList *glade_util_removed_from_list (GList *old_list, - GList *new_list); + GList *new_list); /* Other utilities */ GtkListStore *glade_utils_liststore_from_enum_type (GType enum_type, gboolean include_empty); gint glade_utils_hijack_key_press (GtkWindow *win, - GdkEventKey *event, - gpointer user_data); + GdkEventKey *event, + gpointer user_data); gboolean glade_util_check_and_warn_scrollable (GladeWidget *parent, - GladeWidgetAdaptor *child_adaptor, - GtkWidget *parent_widget); + GladeWidgetAdaptor *child_adaptor, + GtkWidget *parent_widget); GList *glade_util_container_get_all_children (GtkContainer *container); gint glade_util_count_placeholders (GladeWidget *parent); GtkTreeIter *glade_util_find_iter_by_widget (GtkTreeModel *model, - GladeWidget *findme, - gint column); + GladeWidget *findme, + gint column); GtkWidget *glade_util_get_placeholder_from_pointer (GtkContainer *container); gboolean glade_util_object_is_loading (GObject *object); GdkPixbuf *glade_utils_pointer_mode_render_icon (GladePointerMode mode, GtkIconSize size); void glade_utils_get_pointer (GtkWidget *widget, - GdkWindow *window, - GdkDevice *device, - gint *x, - gint *y); + GdkWindow *window, + GdkDevice *device, + gint *x, + gint *y); void glade_util_remove_scroll_events (GtkWidget *widget); |