summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSergey V. Udaltsov <svu@gnome.org>2012-02-22 00:52:43 +0000
committerSergey V. Udaltsov <svu@gnome.org>2012-02-22 00:52:43 +0000
commit589837d7196ef0dedf628b5f978a5be05c296692 (patch)
tree2c0d1e1bcce312555a4e3788ccb5df4712559c2e /test
parent799e8ded302d5a2f4baf932b847d236356343bc1 (diff)
downloadlibgnomekbd-589837d7196ef0dedf628b5f978a5be05c296692.tar.gz
Eliminating some minor build warnings
Unused variable and deprecated APIs
Diffstat (limited to 'test')
-rw-r--r--test/gkbd-indicator-test.c3
-rw-r--r--test/gkbd-status-test.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/test/gkbd-indicator-test.c b/test/gkbd-indicator-test.c
index 7051d2b..c6cf984 100644
--- a/test/gkbd-indicator-test.c
+++ b/test/gkbd-indicator-test.c
@@ -57,7 +57,8 @@ main (int argc, char **argv)
gkbd_indicator_set_parent_tooltips (GKBD_INDICATOR (gki), TRUE);
gtk_window_resize (GTK_WINDOW (mainwin), 250, 250);
- vbox = gtk_vbox_new (TRUE, 6);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
+ gtk_box_set_homogeneous (GTK_BOX (vbox), TRUE);
gtk_container_add (GTK_CONTAINER (mainwin), vbox);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
diff --git a/test/gkbd-status-test.c b/test/gkbd-status-test.c
index 3b2c365..1e9708f 100644
--- a/test/gkbd-status-test.c
+++ b/test/gkbd-status-test.c
@@ -39,15 +39,13 @@
int
main (int argc, char **argv)
{
- GtkStatusIcon *icon;
-
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
gtk_init (&argc, &argv);
- icon = gkbd_status_new ();
+ gkbd_status_new ();
gtk_main ();