Merge branch 'fix_expander_demo' into 'master'

fix resource not found in expander demo

See merge request GNOME/gtk!2436
This commit is contained in:
Matthias Clasen 2020-08-13 23:08:09 +00:00
commit 15bd2a2a5c

View File

@ -98,7 +98,7 @@ do_expander (GtkWidget *do_widget)
"Do it already!\n", -1);
gtk_text_buffer_get_end_iter (buffer, &start);
paintable = GDK_PAINTABLE (gdk_texture_new_from_resource ("/cursors/gtk_logo_cursor.png"));
paintable = GDK_PAINTABLE (gdk_texture_new_from_resource ("/cursors/images/gtk_logo_cursor.png"));
gtk_text_buffer_insert_paintable (buffer, &start, paintable);
g_object_unref (paintable);
gtk_text_iter_backward_char (&start);