From d7c3d86f02d15f8de1e9a376b9c0e78b336a9a2b Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Thu, 19 Jan 2017 21:51:22 +0000 Subject: [PATCH] =?UTF-8?q?testcombo=E2=80=94Don=E2=80=99t=20set=20appears?= =?UTF-8?q?-as-list=20style=20property?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List mode no longer exists, so this had no effect. --- tests/testcombo.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/testcombo.c b/tests/testcombo.c index 9ea0ea6361..b374e19aae 100644 --- a/tests/testcombo.c +++ b/tests/testcombo.c @@ -1063,20 +1063,6 @@ main (int argc, char **argv) if (g_getenv ("RTL")) gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL); - if (g_getenv ("LISTMODE")) - { - GtkCssProvider *provider = gtk_css_provider_new (); - - gtk_css_provider_load_from_data (provider, - "* { -GtkComboBox-appears-as-list: true; }", - -1); - - gtk_style_context_add_provider_for_screen (gdk_screen_get_default (), - GTK_STYLE_PROVIDER (provider), - GTK_STYLE_PROVIDER_PRIORITY_FALLBACK); - - } - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); g_signal_connect (window, "destroy", gtk_main_quit, NULL);