[Xfce4-commits] [apps/xfce4-dict] 02/02: Allow compilation with panel 4.15

noreply at xfce.org noreply at xfce.org
Fri Oct 4 04:57:41 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-dict.

commit ad11521c19cc9ec48b9f9647918bd7713adf135d
Author: Andre Miranda <andreldm at xfce.org>
Date:   Thu Oct 3 23:57:10 2019 -0300

    Allow compilation with panel 4.15
---
 panel-plugin/xfce4-dict-plugin.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/xfce4-dict-plugin.c b/panel-plugin/xfce4-dict-plugin.c
index 431dd8f..ad47a91 100644
--- a/panel-plugin/xfce4-dict-plugin.c
+++ b/panel-plugin/xfce4-dict-plugin.c
@@ -23,7 +23,11 @@
 #include <gtk/gtk.h>
 
 #include <libxfce4ui/libxfce4ui.h>
-#include <libxfce4panel/xfce-panel-plugin.h>
+#include <libxfce4panel/libxfce4panel.h>
+
+#ifdef GDK_WINDOWING_X11
+#include <gdk/gdkx.h>
+#endif
 
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -327,7 +331,7 @@ static void dict_plugin_construct(XfcePanelPlugin *plugin)
 
 	dict_read_rc_file(dpd->dd);
 
-	dpd->panel_button = xfce_create_panel_button();
+	dpd->panel_button = xfce_panel_create_button();
 	gtk_widget_set_tooltip_text (dpd->panel_button, _("Look up a word"));
 
 	dpd->panel_button_image = gtk_image_new();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list