[gnome-control-center] network: Kill compilation warnings
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Kill compilation warnings
- Date: Tue, 5 Jul 2011 11:17:42 +0000 (UTC)
commit b2be7a7b4c337f3018e98cf17da46e5028caaea1
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Tue Jul 5 13:13:04 2011 +0200
network: Kill compilation warnings
panels/network/cc-network-panel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index c3efc94..13bfcab 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -2145,7 +2145,7 @@ panel_add_vpn_device (CcNetworkPanel *panel, NMConnection *connection)
liststore_devices = GTK_LIST_STORE (gtk_builder_get_object (panel->priv->builder,
"liststore_devices"));
title = g_strdup_printf (_("%s VPN"), nm_connection_get_id (connection));
- title_markup = g_strdup_printf (title);
+ title_markup = g_strdup (title);
net_object_set_title (NET_OBJECT (net_vpn), title);
gtk_list_store_append (liststore_devices, &iter);
@@ -2907,7 +2907,7 @@ start_hotspot (GtkButton *button, CcNetworkPanel *panel)
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_OTHER,
GTK_BUTTONS_NONE,
- warning);
+ "%s", warning);
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
_("Create _Hotspot"), GTK_RESPONSE_OK,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]