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 ();
|
||||
gtk_container_add (GTK_CONTAINER (eventbox), box);
|
||||
|
||||
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), eventbox);
|
||||
gtk_container_add (GTK_CONTAINER (sw), eventbox);
|
||||
|
||||
desktop_color.red = 0.32;
|
||||
desktop_color.green = 0.46;
|
||||
@ -709,8 +708,7 @@ previews_of_button_layouts (void)
|
||||
|
||||
eventbox = gtk_event_box_new ();
|
||||
gtk_container_add (GTK_CONTAINER (eventbox), box);
|
||||
|
||||
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), eventbox);
|
||||
gtk_container_add (GTK_CONTAINER (sw), eventbox);
|
||||
|
||||
desktop_color.red = 0.32;
|
||||
desktop_color.green = 0.46;
|
||||
|
Loading…
Reference in New Issue
Block a user