diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-02-12 07:59:25 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-02-12 08:01:51 -0500 |
commit | d05d92451604f7fd24c390571d1df6cdc9f31400 (patch) | |
tree | 2b4e9cc464d04f82c4e6fe081d7de3804f88c4ed /tests/testexpand.c | |
parent | bfd66fe3a38353508a4b084610b6e06608619162 (diff) | |
download | gtk+-d05d92451604f7fd24c390571d1df6cdc9f31400.tar.gz |
Silence more compiler warnings
Diffstat (limited to 'tests/testexpand.c')
-rw-r--r-- | tests/testexpand.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/testexpand.c b/tests/testexpand.c index e7f0d99cd5..801b60e7ce 100644 --- a/tests/testexpand.c +++ b/tests/testexpand.c @@ -26,11 +26,6 @@ static void on_toggle_hexpand (GtkToggleButton *toggle, void *data) { - GtkWidget *parent; - - /* get the event box with color set on it */ - parent = gtk_widget_get_parent (gtk_widget_get_parent (GTK_WIDGET (toggle))); - g_object_set (toggle, "hexpand", gtk_toggle_button_get_active (toggle), NULL); @@ -40,11 +35,6 @@ static void on_toggle_vexpand (GtkToggleButton *toggle, void *data) { - GtkWidget *parent; - - /* get the event box with color set on it */ - parent = gtk_widget_get_parent (gtk_widget_get_parent (GTK_WIDGET (toggle))); - g_object_set (toggle, "vexpand", gtk_toggle_button_get_active (toggle), NULL); |