mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
testcombo—Don’t set appears-as-list style property
List mode no longer exists, so this had no effect.
This commit is contained in:
parent
c790724469
commit
d7c3d86f02
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user