[grilo/wip/jfelder/grilo-test-ui-fix-deprecations: 2/2] test-ui: Remove resize grip functionality



commit 3cdeea04cd17e963ca9e3a75962730998cbcffd9
Author: Jean Felder <jean felder estimages com>
Date:   Mon Sep 3 12:02:19 2018 +0200

    test-ui: Remove resize grip functionality
    
    It has been deprecated since GTK 3.14

 meson.build                | 2 +-
 tools/grilo-test-ui/main.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 1858fbe..5f9ec5b 100644
--- a/meson.build
+++ b/meson.build
@@ -68,7 +68,7 @@ endif
 
 enable_testui = get_option('enable-test-ui')
 if enable_testui
-    gtk_dep = dependency('gtk+-3.0', version: '>= 3.0', required: true)
+    gtk_dep = dependency('gtk+-3.0', version: '>= 3.14', required: true)
     oauth_dep = dependency('oauth', required: false)
 endif
 
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index e8cc64c..02304ea 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -2134,8 +2134,6 @@ ui_setup (GApplication *app)
   /* Status bar */
   view->statusbar = gtk_statusbar_new ();
 
-  gtk_window_set_has_resize_grip (GTK_WINDOW (view->window), FALSE);
-
   view->statusbar_context_id =
     gtk_statusbar_get_context_id (GTK_STATUSBAR (view->statusbar),
                                   "changes notification");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]