summaryrefslogtreecommitdiff
path: root/panels/network/panel-common.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2012-07-18 14:57:26 +0100
committerRichard Hughes <richard@hughsie.com>2012-07-20 09:31:11 +0100
commit5644bd6e6291278e3829cbb0c2a04e0a1d2fcd21 (patch)
tree2c7552c43f67793b60d1eb09cc884806abaa8235 /panels/network/panel-common.h
parent1e4b0649f497e3969c73ac20e27a25df1886b435 (diff)
downloadgnome-control-center-5644bd6e6291278e3829cbb0c2a04e0a1d2fcd21.tar.gz
network: Add panel_set_device_widgets() to the widget common code
We can use this from the different NetDevice types, and once all the devices are converted to actual NetDeviceFoo-style objects we can remove the legacy code in cc-network-panel.c
Diffstat (limited to 'panels/network/panel-common.h')
-rw-r--r--panels/network/panel-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/panels/network/panel-common.h b/panels/network/panel-common.h
index 2e7902d0e..c452ee319 100644
--- a/panels/network/panel-common.h
+++ b/panels/network/panel-common.h
@@ -43,6 +43,8 @@ gboolean panel_set_device_widget_details (GtkBuilder *buil
gboolean panel_set_device_widget_header (GtkBuilder *builder,
const gchar *widget_suffix,
const gchar *value);
+void panel_set_device_widgets (GtkBuilder *builder,
+ NMDevice *device);
G_END_DECLS