Skip to content
Permalink
Browse files

eom-window.c: avoid deprecated GtkButton:use-stock

  • Loading branch information...
sc0w committed Feb 17, 2018
1 parent 98d6a43 commit 29a62cd3da207d292adbcad1e01498c50e638d5b
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/eom-window.c
@@ -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),

0 comments on commit 29a62cd

Please sign in to comment.
You can’t perform that action at this time.