[gnome-utils/gnome-2-26] [baobab] Remove build warning for gtk_message_dialog_format_secondary_text
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-utils/gnome-2-26] [baobab] Remove build warning for gtk_message_dialog_format_secondary_text
- Date: Mon, 29 Jun 2009 10:00:00 +0000 (UTC)
commit 8f15631ccf85e986f2e8ad9cc64a79a330946f61
Author: Claude Paroz <claude 2xlibre net>
Date: Fri Jun 26 22:05:34 2009 +0200
[baobab] Remove build warning for gtk_message_dialog_format_secondary_text
baobab/src/baobab-remote-connect-dialog.c | 4 ++--
baobab/src/baobab-utils.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c
index 0777338..6c2385e 100644
--- a/baobab/src/baobab-remote-connect-dialog.c
+++ b/baobab/src/baobab-remote-connect-dialog.c
@@ -82,10 +82,10 @@ display_error_dialog (GError *error,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- error_message);
+ error_message, NULL);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dlg),
- error->message);
+ error->message, NULL);
g_free (error_message);
diff --git a/baobab/src/baobab-utils.c b/baobab/src/baobab-utils.c
index 43cddd4..ddc0458 100644
--- a/baobab/src/baobab-utils.c
+++ b/baobab/src/baobab-utils.c
@@ -242,7 +242,7 @@ message (gchar *primary_msg, gchar *secondary_msg, GtkMessageType type, GtkWidge
type,
GTK_BUTTONS_OK, "%s", primary_msg);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- secondary_msg);
+ secondary_msg, NULL);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
@@ -260,7 +260,7 @@ messageyesno (gchar *primary_msg, gchar *secondary_msg, GtkMessageType type, gch
GTK_BUTTONS_CANCEL,
"%s", primary_msg);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- secondary_msg);
+ secondary_msg, NULL);
button = gtk_button_new_with_mnemonic (ok_button);
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
@@ -574,7 +574,7 @@ baobab_help_display (GtkWindow *parent,
_("There was an error displaying help."));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- error->message);
+ error->message, NULL);
g_signal_connect (G_OBJECT (dialog), "response",
G_CALLBACK (gtk_widget_destroy), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]