summaryrefslogtreecommitdiff
path: root/src/gtk-utils.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-21 17:34:44 +0100
committerinfirit <[email protected]>2014-11-22 20:25:30 +0100
commit28c596789cf64a2df0005362b1595a73f0ab2567 (patch)
tree39c2a31a51072abfb3500c169ab4fbb7b6c7aa3c /src/gtk-utils.c
parente1cbfda259d2bfd2a87cda3519fd2cd69e509556 (diff)
downloadengrampa-28c596789cf64a2df0005362b1595a73f0ab2567.tar.bz2
engrampa-28c596789cf64a2df0005362b1595a73f0ab2567.tar.xz
fixed compiler warnings
Based on FR commit: 1becb98e4c8bc86feca13b54f991987c4eee3341 From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r--src/gtk-utils.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index 40d5336..24a686a 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -79,7 +79,7 @@ _gtk_message_dialog_new (GtkWindow *parent,
if (stock_id == NULL)
stock_id = GTK_STOCK_DIALOG_INFO;
- dialog = gtk_dialog_new_with_buttons ("", parent, flags, NULL);
+ dialog = gtk_dialog_new_with_buttons ("", parent, flags, NULL, NULL);
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
/* Add label and image */
@@ -204,15 +204,13 @@ _gtk_request_dialog_run (GtkWindow *parent,
GtkWidget *entry;
GtkWidget *button;
GtkWidget *content_area;
- GtkWidget *action_area;
char *stock_id;
char *result;
stock_id = GTK_STOCK_DIALOG_QUESTION;
- dialog = gtk_dialog_new_with_buttons (title, parent, flags, NULL);
+ dialog = gtk_dialog_new_with_buttons (title, parent, flags, NULL, NULL);
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog));
/* Add label and image */
@@ -303,7 +301,7 @@ _gtk_yesno_dialog_new (GtkWindow *parent,
GtkWidget *content_area;
char *stock_id = GTK_STOCK_DIALOG_WARNING;
- d = gtk_dialog_new_with_buttons ("", parent, flags, NULL);
+ d = gtk_dialog_new_with_buttons ("", parent, flags, NULL, NULL);
gtk_window_set_resizable (GTK_WINDOW (d), FALSE);
content_area = gtk_dialog_get_content_area (GTK_DIALOG (d));