1
0
gnome-control-center/gnome-control-center-build.patch

45 lines
1.5 KiB
Diff

From 38a7a3fbe6cd5dba7cfd7ad706d03cccaa05823a Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Fri, 26 Oct 2012 10:27:32 -0400
Subject: [PATCH] network: Fix the build with nma 0.9.6.2
This is a temporary bandaid until 0.9.6.4 is released.
---
panels/network/network-dialogs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/panels/network/network-dialogs.c b/panels/network/network-dialogs.c
index f9be79d..e6b0774 100644
--- a/panels/network/network-dialogs.c
+++ b/panels/network/network-dialogs.c
@@ -30,7 +30,7 @@
#include <nm-device-wifi.h>
#include "network-dialogs.h"
-#include "nm-wifi-dialog.h"
+#include "nm-wireless-dialog.h"
#include "nm-mobile-wizard.h"
typedef struct {
@@ -108,7 +108,7 @@ nag_dialog_response_cb (GtkDialog *nag_dialog,
gint response,
gpointer user_data)
{
- NMAWifiDialog *wireless_dialog = NMA_WIFI_DIALOG (user_data);
+ NMAWirelessDialog *wireless_dialog = NMA_WIRELESS_DIALOG (user_data);
if (response == GTK_RESPONSE_NO) { /* user opted not to correct the warning */
nma_wifi_dialog_set_nag_ignored (wireless_dialog, TRUE);
@@ -121,7 +121,7 @@ wireless_dialog_response_cb (GtkDialog *foo,
gint response,
gpointer user_data)
{
- NMAWifiDialog *dialog = NMA_WIFI_DIALOG (foo);
+ NMAWirelessDialog *dialog = NMA_WIRELESS_DIALOG (foo);
WirelessDialogClosure *closure = user_data;
NMConnection *connection, *fuzzy_match = NULL;
NMDevice *device;
--
1.7.12.1