mirror of
https://github.com/brl/mutter.git
synced 2025-01-25 19:08:56 +00:00
theme-viewer: Stop using deprecated GTK+ functions
https://bugzilla.gnome.org/show_bug.cgi?id=693439
This commit is contained in:
parent
a2a3188331
commit
e914595062
@ -485,8 +485,7 @@ preview_collection (int font_size,
|
|||||||
|
|
||||||
eventbox = gtk_event_box_new ();
|
eventbox = gtk_event_box_new ();
|
||||||
gtk_container_add (GTK_CONTAINER (eventbox), box);
|
gtk_container_add (GTK_CONTAINER (eventbox), box);
|
||||||
|
gtk_container_add (GTK_CONTAINER (sw), eventbox);
|
||||||
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), eventbox);
|
|
||||||
|
|
||||||
desktop_color.red = 0.32;
|
desktop_color.red = 0.32;
|
||||||
desktop_color.green = 0.46;
|
desktop_color.green = 0.46;
|
||||||
@ -709,8 +708,7 @@ previews_of_button_layouts (void)
|
|||||||
|
|
||||||
eventbox = gtk_event_box_new ();
|
eventbox = gtk_event_box_new ();
|
||||||
gtk_container_add (GTK_CONTAINER (eventbox), box);
|
gtk_container_add (GTK_CONTAINER (eventbox), box);
|
||||||
|
gtk_container_add (GTK_CONTAINER (sw), eventbox);
|
||||||
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), eventbox);
|
|
||||||
|
|
||||||
desktop_color.red = 0.32;
|
desktop_color.red = 0.32;
|
||||||
desktop_color.green = 0.46;
|
desktop_color.green = 0.46;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user