diff options
author | Jean Felder <jean.felder@estimages.com> | 2018-09-03 11:57:37 +0200 |
---|---|---|
committer | Victor Toso <toso@posteo.net> | 2018-09-04 05:53:12 +0000 |
commit | b41154466154c9848aafbdad0e3c6bb029b4afa4 (patch) | |
tree | 39d4795f933a6c62568ef86fd71ebd4620eb6cd0 | |
parent | 2570c5a3ec39a95a706ee2bd1e7eaa08b4259078 (diff) | |
download | grilo-b41154466154c9848aafbdad0e3c6bb029b4afa4.tar.gz |
test-ui: Remove some GTK2 legacy code
In GTK3 the resize grip functionality has been moved from GtkStatusbar
to GtkWindow.
-rw-r--r-- | tools/grilo-test-ui/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c index fe51c02..ebb973c 100644 --- a/tools/grilo-test-ui/main.c +++ b/tools/grilo-test-ui/main.c @@ -2151,11 +2151,7 @@ ui_setup (GApplication *app) /* Status bar */ view->statusbar = gtk_statusbar_new (); -#if GTK_CHECK_VERSION (2, 91, 0) gtk_window_set_has_resize_grip (GTK_WINDOW (view->window), FALSE); -#else - gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (view->statusbar), FALSE); -#endif view->statusbar_context_id = gtk_statusbar_get_context_id (GTK_STATUSBAR (view->statusbar), |