<div dir="ltr"><div><div><div><div><div><div><div>Hi Dani,<br></div>You'll have to rework the events handling code, because GdkEventClient has been removed as you can check at:<br><a href="https://developer.gnome.org/gtk3/stable/ch26s02.html#id-1.6.3.4.8">https://developer.gnome.org/gtk3/stable/ch26s02.html#id-1.6.3.4.8</a><br><br></div>Well, that's basically the amusing work of porting things to GTK3, check what's broken/missing and figure out what's its replacement.<br></div>There is no complete manual for every case, if you're lucky enough you'll get a nice deprecation message telling what to use, in other cases you'll have to use google a bit more, probably forwarded  to: <a href="https://developer.gnome.org/gtk3/stable/gtk-migrating-2-to-3.html">https://developer.gnome.org/gtk3/stable/gtk-migrating-2-to-3.html</a><br><br></div>It also helps to take a look at the source of plugins already ported, most of the work is the same.<br></div>Ahh, if possible, next time you share the build output, consider attaching it or use a service such as pastebin or gist.<br><br></div>Cheers,<br></div>Andre Miranda<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 3, 2017 at 11:32 AM, Dani <span dir="ltr"><<a href="mailto:dani@damufo.com" target="_blank">dani@damufo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello:<br>
    <br>
    When I try compile xfce4-timer-plugin(port to gtk3) I<span id="m_-9178354227147401791result_box" class="m_-9178354227147401791short_text" lang="en"><span> get</span>
      <span>the following error:</span></span><br>
    <br>
    $ make<br>
    make  all-recursive<br>
    make[1]: Entering directory
    '/home/usuario/pro_linux_c/<wbr>xfce4-timer-plugin_meu_gtk3'<br>
    Making all in src<br>
    make[2]: Entering directory
    '/home/usuario/pro_linux_c/<wbr>xfce4-timer-plugin_meu_gtk3/<wbr>src'<br>
    gcc -DHAVE_CONFIG_H -I. -I..    -I.. -pthread
    -I/usr/include/xfce4/<wbr>libxfce4ui-2 -I/usr/include/gtk-3.0
    -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
    -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/<wbr>dbus-1.0/include
    -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
    -I/usr/include/mirclient -I/usr/include/mircommon
    -I/usr/include/mircookie -I/usr/include/cairo
    -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
    -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
    -I/usr/include/pixman-1 -I/usr/include/freetype2
    -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0
    -I/usr/include/libpng12 -I/usr/include/xfce4 -I/usr/include/glib-2.0
    -I/usr/lib/x86_64-linux-gnu/<wbr>glib-2.0/include -I/usr/include/xfce4
    -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/<wbr>glib-2.0/include
    -pthread -I/usr/include/xfce4/<wbr>libxfce4panel-2.0
    -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
    -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
    -I/usr/lib/x86_64-linux-gnu/<wbr>dbus-1.0/include -I/usr/include/gtk-3.0
    -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient
    -I/usr/include/mircommon -I/usr/include/mircookie
    -I/usr/include/cairo -I/usr/include/pango-1.0
    -I/usr/include/harfbuzz -I/usr/include/pango-1.0
    -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
    -I/usr/include/freetype2 -I/usr/include/libpng12
    -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12
    -I/usr/include/xfce4 -I/usr/include/glib-2.0
    -I/usr/lib/x86_64-linux-gnu/<wbr>glib-2.0/include
    -DPACKAGE_LOCALE_DIR=\"/usr/<wbr>local/share/locale\" -g -O2 -MT
    xfce4_timer-xfcetimer.o -MD -MP -MF .deps/xfce4_timer-xfcetimer.<wbr>Tpo
    -c -o xfce4_timer-xfcetimer.o `test -f 'xfcetimer.c' || echo
    './'`xfcetimer.c<br>
    In file included from
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>plugin.h:28:0,<br>
                     from
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros.h:28,<br>
                     from
    /usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/libxfce4panel.h:<wbr>29,<br>
                     from xfcetimer.c:42:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:286:22:
    error: unknown type name ‘GdkEventClient’<br>
                          GdkEventClient  *event, \<br>
                          ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    xfcetimer.c: In function ‘_xpp_provider_signal’:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:390:5:
    error: unknown type name ‘GdkEventClient’<br>
         GdkEventClient  event; \<br>
         ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    In file included from
    /usr/lib/x86_64-linux-gnu/<wbr>glib-2.0/include/glibconfig.h:<wbr>9:0,<br>
                     from /usr/include/glib-2.0/glib/<wbr>gtypes.h:32,<br>
                     from /usr/include/glib-2.0/glib/<wbr>galloca.h:32,<br>
                     from /usr/include/glib-2.0/glib.h:<wbr>30,<br>
                     from /usr/include/gtk-3.0/gdk/<wbr>gdkconfig.h:13,<br>
                     from /usr/include/gtk-3.0/gdk/gdk.<wbr>h:30,<br>
                     from /usr/include/gtk-3.0/gtk/gtk.<wbr>h:30,<br>
                     from xfcetimer.c:36:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:394:23:
    warning: implicit declaration of function ‘GTK_IS_PLUG’
    [-Wimplicit-function-<wbr>declaration]<br>
         g_return_if_fail (GTK_IS_PLUG (plug)); \<br>
                           ^<br>
    /usr/include/glib-2.0/glib/<wbr>gmacros.h:370:8: note: in definition of
    macro ‘_G_BOOLEAN_EXPR’<br>
        if (expr)                        <wbr>            \<br>
            ^<br>
    /usr/include/glib-2.0/glib/<wbr>gmessages.h:368:9: note: in expansion of
    macro ‘G_LIKELY’<br>
          if G_LIKELY(expr) { } else            \<br>
             ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:394:5:
    note: in expansion of macro ‘g_return_if_fail’<br>
         g_return_if_fail (GTK_IS_PLUG (plug)); \<br>
         ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    In file included from
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>plugin.h:28:0,<br>
                     from
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros.h:28,<br>
                     from
    /usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/libxfce4panel.h:<wbr>29,<br>
                     from xfcetimer.c:42:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:404:10:
    error: request for member ‘type’ in something not a structure or
    union<br>
         event.type = GDK_CLIENT_EVENT; \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:405:10:
    error: request for member ‘window’ in something not a structure or
    union<br>
         event.window = gtk_widget_get_window (plug); \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:406:10:
    error: request for member ‘send_event’ in something not a structure
    or union<br>
         event.send_event = TRUE; \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:407:10:
    error: request for member ‘message_type’ in something not a
    structure or union<br>
         event.message_type = _xpp_atom; \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:408:10:
    error: request for member ‘data_format’ in something not a structure
    or union<br>
         event.data_format = 16; \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:409:10:
    error: request for member ‘data’ in something not a structure or
    union<br>
         event.data.s[0] = message; \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:410:10:
    error: request for member ‘data’ in something not a structure or
    union<br>
         event.data.s[1] = 0; \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:412:14:
    warning: implicit declaration of function
    ‘gtk_plug_get_socket_window’ [-Wimplicit-function-<wbr>declaration]<br>
         window = gtk_plug_get_socket_window (GTK_PLUG (plug)); \<br>
                  ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:412:42:
    warning: implicit declaration of function ‘GTK_PLUG’
    [-Wimplicit-function-<wbr>declaration]<br>
         window = gtk_plug_get_socket_window (GTK_PLUG (plug)); \<br>
                                  <wbr>            ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:412:12:
    warning: assignment makes pointer from integer without a cast
    [-Wint-conversion]<br>
         window = gtk_plug_get_socket_window (GTK_PLUG (plug)); \<br>
                ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:416:5:
    warning: implicit declaration of function
    ‘gdk_event_send_client_<wbr>message’ [-Wimplicit-function-<wbr>declaration]<br>
         gdk_event_send_client_message ((GdkEvent *) &event,
    GDK_WINDOW_XID (window)); \<br>
         ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    xfcetimer.c: At top level:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:425:17:
    error: unknown type name ‘GtkPlug’<br>
                     GtkPlug         *plug) \<br>
                     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    xfcetimer.c: In function ‘_xpp_expose_event’:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:460:10:
    warning: implicit declaration of function ‘GTK_WIDGET_DRAWABLE’
    [-Wimplicit-function-<wbr>declaration]<br>
         if (!GTK_WIDGET_DRAWABLE (plug)) \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:425:17:
    warning: ‘gtk_widget_get_style’ is deprecated: Use
    'gtk_widget_get_style_context' instead [-Wdeprecated-declarations]<br>
                     GtkPlug         *plug) \<br>
                     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    In file included from /usr/include/gtk-3.0/gtk/gtk.<wbr>h:263:0,<br>
                     from xfcetimer.c:36:<br>
    /usr/include/gtk-3.0/gtk/<wbr>deprecated/gtkstyle.h:742:13: note:
    declared here<br>
     GtkStyle *  gtk_widget_get_style          (GtkWidget           
    *widget);<br>
                 ^<br>
    In file included from
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>plugin.h:28:0,<br>
                     from
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros.h:28,<br>
                     from
    /usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/libxfce4panel.h:<wbr>29,<br>
                     from xfcetimer.c:42:<br>
    xfcetimer.c: At top level:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:531:23:
    error: unknown type name ‘GtkPlug’<br>
       _xpp_plug_embedded (GtkPlug *plug) \<br>
                           ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    xfcetimer.c: In function ‘main’:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:546:5:
    error: unknown type name ‘GdkNativeWindow’<br>
         GdkNativeWindow  socket_id; \<br>
         ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:547:5:
    error: unknown type name ‘GdkColormap’<br>
         GdkColormap     *colormap = NULL; \<br>
         ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:586:12:
    warning: implicit declaration of function ‘gtk_plug_new’
    [-Wimplicit-function-<wbr>declaration]<br>
         plug = gtk_plug_new (socket_id); \<br>
                ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:586:10:
    warning: assignment makes pointer from integer without a cast
    [-Wint-conversion]<br>
         plug = gtk_plug_new (socket_id); \<br>
              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    In file included from /usr/include/glib-2.0/gobject/<wbr>gobject.h:28:0,<br>
                     from /usr/include/glib-2.0/gobject/<wbr>gbinding.h:29,<br>
                     from /usr/include/glib-2.0/glib-<wbr>object.h:23,<br>
                     from /usr/include/glib-2.0/gio/<wbr>gioenums.h:28,<br>
                     from /usr/include/glib-2.0/gio/<wbr>giotypes.h:28,<br>
                     from /usr/include/glib-2.0/gio/gio.<wbr>h:26,<br>
                     from
    /usr/include/gtk-3.0/gdk/<wbr>gdkapplaunchcontext.h:28,<br>
                     from /usr/include/gtk-3.0/gdk/gdk.<wbr>h:32,<br>
                     from /usr/include/gtk-3.0/gtk/gtk.<wbr>h:30,<br>
                     from xfcetimer.c:36:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:589:21:
    error: ‘_xpp_plug_embedded’ undeclared (first use in this function)<br>
             G_CALLBACK (_xpp_plug_embedded), NULL); \<br>
                         ^<br>
    /usr/include/glib-2.0/gobject/<wbr>gsignal.h:475:60: note: in definition
    of macro ‘g_signal_connect’<br>
         g_signal_connect_data ((instance), (detailed_signal),
    (c_handler), (data), NULL, (GConnectFlags) 0)<br>
                                  <wbr>                              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:589:9:
    note: in expansion of macro ‘G_CALLBACK’<br>
             G_CALLBACK (_xpp_plug_embedded), NULL); \<br>
             ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:589:21:
    note: each undeclared identifier is reported only once for each
    function it appears in<br>
             G_CALLBACK (_xpp_plug_embedded), NULL); \<br>
                         ^<br>
    /usr/include/glib-2.0/gobject/<wbr>gsignal.h:475:60: note: in definition
    of macro ‘g_signal_connect’<br>
         g_signal_connect_data ((instance), (detailed_signal),
    (c_handler), (data), NULL, (GConnectFlags) 0)<br>
                                  <wbr>                              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:589:9:
    note: in expansion of macro ‘G_CALLBACK’<br>
             G_CALLBACK (_xpp_plug_embedded), NULL); \<br>
             ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    In file included from
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>plugin.h:28:0,<br>
                     from
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros.h:28,<br>
                     from
    /usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/libxfce4panel.h:<wbr>29,<br>
                     from xfcetimer.c:42:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:596:16:
    warning: implicit declaration of function
    ‘gdk_screen_get_rgba_colormap’ [-Wimplicit-function-<wbr>declaration]<br>
         colormap = gdk_screen_get_rgba_colormap (screen); \<br>
                    ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:596:14:
    warning: assignment makes pointer from integer without a cast
    [-Wint-conversion]<br>
         colormap = gdk_screen_get_rgba_colormap (screen); \<br>
                  ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:598:7:
    warning: implicit declaration of function ‘gtk_widget_set_colormap’
    [-Wimplicit-function-<wbr>declaration]<br>
           gtk_widget_set_colormap (plug, colormap); \<br>
           ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    In file included from /usr/include/glib-2.0/gobject/<wbr>gobject.h:28:0,<br>
                     from /usr/include/glib-2.0/gobject/<wbr>gbinding.h:29,<br>
                     from /usr/include/glib-2.0/glib-<wbr>object.h:23,<br>
                     from /usr/include/glib-2.0/gio/<wbr>gioenums.h:28,<br>
                     from /usr/include/glib-2.0/gio/<wbr>giotypes.h:28,<br>
                     from /usr/include/glib-2.0/gio/gio.<wbr>h:26,<br>
                     from
    /usr/include/gtk-3.0/gdk/<wbr>gdkapplaunchcontext.h:28,<br>
                     from /usr/include/gtk-3.0/gdk/gdk.<wbr>h:32,<br>
                     from /usr/include/gtk-3.0/gtk/gtk.<wbr>h:30,<br>
                     from xfcetimer.c:36:<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:609:21:
    error: ‘_xpp_realize’ undeclared (first use in this function)<br>
             G_CALLBACK (_xpp_realize), plug); \<br>
                         ^<br>
    /usr/include/glib-2.0/gobject/<wbr>gsignal.h:490:60: note: in definition
    of macro ‘g_signal_connect_after’<br>
         g_signal_connect_data ((instance), (detailed_signal),
    (c_handler), (data), NULL, G_CONNECT_AFTER)<br>
                                  <wbr>                              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:609:9:
    note: in expansion of macro ‘G_CALLBACK’<br>
             G_CALLBACK (_xpp_realize), plug); \<br>
             ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:621:20:
    error: ‘_xpp_client_event’ undeclared (first use in this function)<br>
            G_CALLBACK (_xpp_client_event), xpp); \<br>
                        ^<br>
    /usr/include/glib-2.0/gobject/<wbr>gsignal.h:475:60: note: in definition
    of macro ‘g_signal_connect’<br>
         g_signal_connect_data ((instance), (detailed_signal),
    (c_handler), (data), NULL, (GConnectFlags) 0)<br>
                                  <wbr>                              ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:621:8:
    note: in expansion of macro ‘G_CALLBACK’<br>
            G_CALLBACK (_xpp_client_event), xpp); \<br>
            ^<br>
/usr/include/xfce4/<wbr>libxfce4panel-2.0/<wbr>libxfce4panel/xfce-panel-<wbr>macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:59:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_<wbr>EXTERNAL(create_plugin_<wbr>control);<br>
     ^<br>
    Makefile:547: recipe for target 'xfce4_timer-xfcetimer.o' failed<br>
    make[2]: *** [xfce4_timer-xfcetimer.o] Error 1<br>
    make[2]: Leaving directory
    '/home/usuario/pro_linux_c/<wbr>xfce4-timer-plugin_meu_gtk3/<wbr>src'<br>
    Makefile:471: recipe for target 'all-recursive' failed<br>
    make[1]: *** [all-recursive] Error 1<br>
    make[1]: Leaving directory
    '/home/usuario/pro_linux_c/<wbr>xfce4-timer-plugin_meu_gtk3'<br>
    Makefile:403: recipe for target 'all' failed<br>
    make: *** [all] Error 2<br>
    <br>
    Very thanks!<span class="HOEnZb"><font color="#888888"><br>
    <pre class="m_-9178354227147401791moz-signature" cols="72">-- 
Dani</pre>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/<wbr>listinfo/xfce4-dev</a><br></blockquote></div><br></div>