Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
eom-window.c: avoid deprecated GtkButton:use-stock
  • Loading branch information
sc0w committed Feb 17, 2018
1 parent 98d6a43 commit 29a62cd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/eom-window.c
Expand Up @@ -1852,11 +1852,8 @@ eom_window_get_exit_fullscreen_button (EomWindow *window)
{
GtkWidget *button;

button = GTK_WIDGET (g_object_new (GTK_TYPE_BUTTON,
"label", "gtk-leave-fullscreen",
"use-stock", TRUE,
"use-underline", TRUE,
NULL));
button = gtk_button_new_with_mnemonic (_("Leave Fullscreen"));
gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_icon_name ("view-restore", GTK_ICON_SIZE_BUTTON));

g_signal_connect (button, "clicked",
G_CALLBACK (exit_fullscreen_button_clicked_cb),
Expand Down

0 comments on commit 29a62cd

Please sign in to comment.