[gthumb] Fixed a compiler warning: not enough variable arguments to fit a sentinel [-Wformat]
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] Fixed a compiler warning: not enough variable arguments to fit a sentinel [-Wformat]
- Date: Mon, 14 Nov 2011 12:16:53 +0000 (UTC)
commit 76946a71e80abd64c6e3c5c9b45b52e08a48c011
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Nov 13 21:04:15 2011 +0100
Fixed a compiler warning: not enough variable arguments to fit a sentinel [-Wformat]
gthumb/gtk-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gtk-utils.c b/gthumb/gtk-utils.c
index 06b4463..c4b6b4c 100644
--- a/gthumb/gtk-utils.c
+++ b/gthumb/gtk-utils.c
@@ -135,7 +135,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);
@@ -222,7 +222,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]