diff options
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r-- | gtk/gtkdialog.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 84b8e45503..44d7c2dfe1 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -169,7 +169,7 @@ typedef struct GtkWidget *action_box; GtkSizeGroup *size_group; - gint use_header_bar; + int use_header_bar; gboolean constructed; ResponseData *action_widgets; } GtkDialogPrivate; @@ -179,7 +179,7 @@ struct _ResponseData ResponseData *next; GtkDialog *dialog; GtkWidget *widget; - gint response_id; + int response_id; }; static void gtk_dialog_add_buttons_valist (GtkDialog *dialog, @@ -233,7 +233,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkDialog, gtk_dialog, GTK_TYPE_WINDOW, static void set_use_header_bar (GtkDialog *dialog, - gint use_header_bar) + int use_header_bar) { GtkDialogPrivate *priv = gtk_dialog_get_instance_private (dialog); @@ -300,7 +300,7 @@ gtk_dialog_get_property (GObject *object, static void action_widget_activated (GtkWidget *widget, GtkDialog *dialog) { - gint response_id; + int response_id; response_id = gtk_dialog_get_response_for_widget (dialog, widget); @@ -310,7 +310,7 @@ action_widget_activated (GtkWidget *widget, GtkDialog *dialog) static void add_response_data (GtkDialog *dialog, GtkWidget *child, - gint response_id) + int response_id) { ResponseData *ad; guint signal_id; @@ -338,7 +338,7 @@ add_response_data (GtkDialog *dialog, static void add_to_header_bar (GtkDialog *dialog, GtkWidget *child, - gint response_id) + int response_id) { GtkDialogPrivate *priv = gtk_dialog_get_instance_private (dialog); @@ -358,7 +358,7 @@ add_to_header_bar (GtkDialog *dialog, static void apply_response_for_action_area (GtkDialog *dialog, GtkWidget *child, - gint response_id) + int response_id) { GtkDialogPrivate *priv = gtk_dialog_get_instance_private (dialog); @@ -368,7 +368,7 @@ apply_response_for_action_area (GtkDialog *dialog, static void add_to_action_area (GtkDialog *dialog, GtkWidget *child, - gint response_id) + int response_id) { GtkDialogPrivate *priv = gtk_dialog_get_instance_private (dialog); @@ -419,7 +419,7 @@ gtk_dialog_constructed (GObject *object) { gboolean has_default; ResponseData *rd; - gint response_id; + int response_id; child = l->data; @@ -832,7 +832,7 @@ get_response_data (GtkDialog *dialog, void gtk_dialog_add_action_widget (GtkDialog *dialog, GtkWidget *child, - gint response_id) + int response_id) { GtkDialogPrivate *priv = gtk_dialog_get_instance_private (dialog); @@ -872,7 +872,7 @@ gtk_dialog_add_action_widget (GtkDialog *dialog, GtkWidget* gtk_dialog_add_button (GtkDialog *dialog, const gchar *button_text, - gint response_id) + int response_id) { GtkWidget *button; @@ -893,7 +893,7 @@ gtk_dialog_add_buttons_valist (GtkDialog *dialog, va_list args) { const gchar* text; - gint response_id; + int response_id; g_return_if_fail (GTK_IS_DIALOG (dialog)); @@ -901,7 +901,7 @@ gtk_dialog_add_buttons_valist (GtkDialog *dialog, return; text = first_button_text; - response_id = va_arg (args, gint); + response_id = va_arg (args, int); while (text != NULL) { @@ -953,7 +953,7 @@ gtk_dialog_add_buttons (GtkDialog *dialog, **/ void gtk_dialog_set_response_sensitive (GtkDialog *dialog, - gint response_id, + int response_id, gboolean setting) { GtkDialogPrivate *priv = gtk_dialog_get_instance_private (dialog); @@ -979,7 +979,7 @@ gtk_dialog_set_response_sensitive (GtkDialog *dialog, **/ void gtk_dialog_set_default_response (GtkDialog *dialog, - gint response_id) + int response_id) { GtkDialogPrivate *priv = gtk_dialog_get_instance_private (dialog); ResponseData *rd; @@ -1007,7 +1007,7 @@ gtk_dialog_set_default_response (GtkDialog *dialog, **/ void gtk_dialog_response (GtkDialog *dialog, - gint response_id) + int response_id) { g_return_if_fail (GTK_IS_DIALOG (dialog)); @@ -1030,7 +1030,7 @@ gtk_dialog_response (GtkDialog *dialog, */ GtkWidget* gtk_dialog_get_widget_for_response (GtkDialog *dialog, - gint response_id) + int response_id) { GtkDialogPrivate *priv = gtk_dialog_get_instance_private (dialog); ResponseData *rd; @@ -1057,7 +1057,7 @@ gtk_dialog_get_widget_for_response (GtkDialog *dialog, * Returns: the response id of @widget, or %GTK_RESPONSE_NONE * if @widget doesn’t have a response id set. */ -gint +int gtk_dialog_get_response_for_widget (GtkDialog *dialog, GtkWidget *widget) { @@ -1072,23 +1072,23 @@ gtk_dialog_get_response_for_widget (GtkDialog *dialog, typedef struct { gchar *widget_name; - gint response_id; + int response_id; gboolean is_default; - gint line; - gint col; + int line; + int col; } ActionWidgetInfo; typedef struct { GtkDialog *dialog; GtkBuilder *builder; GSList *items; - gint response_id; + int response_id; gboolean is_default; gboolean is_text; GString *string; gboolean in_action_widgets; - gint line; - gint col; + int line; + int col; } SubParserData; static void |