Commit b0cece71 authored by Michael Catanzaro's avatar Michael Catanzaro

Set old-style GtkEntry style class, retro!

parent efa047b5
......@@ -654,7 +654,11 @@ get_entry_style_context (void)
path = gtk_widget_path_new ();
gtk_widget_path_append_type (path, GTK_TYPE_ENTRY);
#if GTK_CHECK_VERSION(3, 20, 0)
gtk_widget_path_iter_set_object_name (path, 0, "entry");
#else
gtk_widget_path_iter_add_class (path, 0, GTK_STYLE_CLASS_ENTRY);
#endif
global_entry_context = gtk_style_context_new ();
gtk_style_context_set_path (global_entry_context, path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment