diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-01-06 08:15:26 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-01-06 08:39:33 +0100 |
commit | bb67df716cfab257a6309df121e6399ddadcc78a (patch) | |
tree | db9ff5a0ff87819499c2d2aa24eff5e1f9291ab4 /fiv.c | |
parent | 4cd2978e21e47182948e9875111de56273219b89 (diff) | |
download | fiv-bb67df716cfab257a6309df121e6399ddadcc78a.tar.gz fiv-bb67df716cfab257a6309df121e6399ddadcc78a.tar.xz fiv-bb67df716cfab257a6309df121e6399ddadcc78a.zip |
Mildly improve Ubuntu 20.04 compatibility
Diffstat (limited to 'fiv.c')
-rw-r--r-- | fiv.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -944,8 +944,9 @@ on_button_press_browser_paned( static GtkWidget * make_toolbar_button(const gchar *symbolic, const gchar *tooltip) { - GtkWidget *button = - gtk_button_new_from_icon_name(symbolic, GTK_ICON_SIZE_BUTTON); + GtkWidget *button = gtk_button_new(); + gtk_button_set_image(GTK_BUTTON(button), + gtk_image_new_from_icon_name(symbolic, GTK_ICON_SIZE_BUTTON)); gtk_widget_set_tooltip_text(button, tooltip); gtk_widget_set_focus_on_click(button, FALSE); gtk_style_context_add_class( |