diff options
author | Andre Miranda <andreldm@xfce.org> | 2019-11-03 20:03:23 -0300 |
---|---|---|
committer | Andre Miranda <andreldm@xfce.org> | 2019-11-03 20:03:23 -0300 |
commit | 5b4637b804411945a5479753e934f6cff3b73653 (patch) | |
tree | 34c25ff52df066a11fa5c9af48321cb035862b32 /plugins | |
parent | f361f9dbc703a229f497f464b0b50245b459e96c (diff) | |
download | thunar-5b4637b804411945a5479753e934f6cff3b73653.tar.gz |
Allow compilation with panel 4.15
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/thunar-tpa/thunar-tpa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/thunar-tpa/thunar-tpa.c b/plugins/thunar-tpa/thunar-tpa.c index 73a53eb2..baff39ab 100644 --- a/plugins/thunar-tpa/thunar-tpa.c +++ b/plugins/thunar-tpa/thunar-tpa.c @@ -156,7 +156,7 @@ thunar_tpa_init (ThunarTpa *plugin) GError *error = NULL; /* setup the button for the trash plugin */ - plugin->button = xfce_create_panel_button (); + plugin->button = xfce_panel_create_button (); xfce_panel_plugin_add_action_widget (XFCE_PANEL_PLUGIN (plugin), plugin->button); gtk_drag_dest_set (plugin->button, GTK_DEST_DEFAULT_ALL, drop_targets, G_N_ELEMENTS (drop_targets), GDK_ACTION_MOVE); g_signal_connect_swapped (G_OBJECT (plugin->button), "clicked", G_CALLBACK (thunar_tpa_display_trash), plugin); |