gnome-bluetooth r367 - in trunk: applet properties
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-bluetooth r367 - in trunk: applet properties
- Date: Wed, 25 Feb 2009 16:16:59 +0000 (UTC)
Author: hadess
Date: Wed Feb 25 16:16:59 2009
New Revision: 367
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=367&view=rev
Log:
Fix string format warnings
Patch from Adam Buchbinder <adam buchbinder gmail com>
(Closes: #566825)
Modified:
trunk/applet/main.c
trunk/properties/adapter.c
Modified: trunk/applet/main.c
==============================================================================
--- trunk/applet/main.c (original)
+++ trunk/applet/main.c Wed Feb 25 16:16:59 2009
@@ -77,7 +77,9 @@
cmdline, &error) == FALSE) {
dialog = gtk_message_dialog_new(parent,
GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR,
- GTK_BUTTONS_CLOSE, error->message);
+ GTK_BUTTONS_CLOSE, NULL);
+ gtk_message_dialog_set_markup(GTK_MESSAGE_DIALOG(dialog),
+ error->message);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
g_error_free(error);
Modified: trunk/properties/adapter.c
==============================================================================
--- trunk/properties/adapter.c (original)
+++ trunk/properties/adapter.c Wed Feb 25 16:16:59 2009
@@ -292,7 +292,8 @@
_("If you delete the device, you have to "
"set it up again before next use."));
dialog = gtk_message_dialog_new_with_markup(NULL, GTK_DIALOG_MODAL,
- GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, text);
+ GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, NULL);
+ gtk_message_dialog_set_markup(GTK_MESSAGE_DIALOG(dialog), text);
g_free(text);
gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CANCEL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]