[gnome-utils] [baobab] Remove build warning for gtk_message_dialog_format_secondary_text



commit c027b29900a980e4239f41ae601f1f4dd264b16d
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 8d5d872..a05ecda 100644
--- a/baobab/src/baobab-utils.c
+++ b/baobab/src/baobab-utils.c
@@ -251,7 +251,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);
 }
@@ -269,7 +269,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);
@@ -569,7 +569,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]