[goobox] fixed some compiler warnings
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] fixed some compiler warnings
- Date: Wed, 5 Dec 2012 16:21:58 +0000 (UTC)
commit 3a9c58db6217ded0d8df2fc678f8de40b00e45c9
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Dec 4 14:27:26 2012 +0100
fixed some compiler warnings
src/gtk-utils.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index 6ee3286..2975554 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -99,7 +99,7 @@ _gtk_message_dialog_new (GtkWindow *parent,
if (stock_id == NULL)
stock_id = GTK_STOCK_DIALOG_INFO;
- 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);
gtk_container_set_border_width (GTK_CONTAINER (d), 6);
@@ -190,7 +190,7 @@ _gtk_request_dialog_run (GtkWindow *parent,
char *result = NULL;
char *stock_id = GTK_STOCK_DIALOG_QUESTION;
- 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);
gtk_container_set_border_width (GTK_CONTAINER (d), 6);
@@ -289,7 +289,7 @@ _gtk_yesno_dialog_new (GtkWindow *parent,
GtkWidget *button;
char *stock_id = GTK_STOCK_DIALOG_QUESTION;
- 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);
gtk_container_set_border_width (GTK_CONTAINER (d), 6);
@@ -384,7 +384,7 @@ _gtk_ok_dialog_with_checkbutton_new (GtkWindow *parent,
char *escaped_message, *markup_text;
DialogWithButtonData *data;
- 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);
/* Add label and image */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]