summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-05-23 14:32:11 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-05-23 14:32:11 -0400
commitb2910d45e2c44f5ec7f8afbf02b899e4833af390 (patch)
tree7059ea79bc1a39c3307ae08a86d8e483926a895f
parent379ca662f144982bfee86c2b610909921b7b3a94 (diff)
Remove unused function
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--src/panel/goapanel.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/panel/goapanel.c b/src/panel/goapanel.c
index 5300a0a..6ad4401 100644
--- a/src/panel/goapanel.c
+++ b/src/panel/goapanel.c
@@ -91,18 +91,6 @@ goa_panel_finalize (GObject *object)
G_OBJECT_CLASS (goa_panel_parent_class)->finalize (object);
}
-static GtkWidget *
-add_switch (GoaPanel *panel,
- const gchar *hbox_id)
-{
- GtkWidget *ret;
- ret = gtk_switch_new ();
- gtk_switch_set_active (GTK_SWITCH (ret), TRUE);
- gtk_box_pack_start (GTK_BOX (gtk_builder_get_object (panel->builder, hbox_id)),
- ret, FALSE, TRUE, 0);
- return ret;
-}
-
static void
goa_panel_init (GoaPanel *panel)
{