<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello:<br>
    <br>
    <span id="result_box" class="" lang="en"><span>I'm</span> <span>trying
        to</span> <span class="">port code from</span> <span>xfce4</span><span>-timer-</span><span>plugin</span>
      <span>to</span> <span>gtk3</span><span>.<br>
        <br>
      </span><span class="">At this time</span> <span>I get</span> <span
        class="">the following errors</span> <span>which</span> <span>do
        not give</span> <span>rise</span> <span>to</span> <span>found</span><span>,</span>
      <span>someone</span> <span>knows</span> <span>what I can</span>
      <span>be doing</span> <span>wrong</span><span class="">?</span></span><br>
    <br>
    When I execute make, I have this output:<br>
    $ make<br>
    make  all-recursive<br>
    make[1]: Entering directory
    '/home/usuario/pro_linux_c/xfce4-timer-plugin_meu_gtk3'<br>
    Making all in src<br>
    make[2]: Entering directory
    '/home/usuario/pro_linux_c/xfce4-timer-plugin_meu_gtk3/src'<br>
    gcc -DHAVE_CONFIG_H -I. -I..    -I.. -pthread
    -I/usr/include/xfce4/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/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/glib-2.0/include -I/usr/include/xfce4
    -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
    -pthread -I/usr/include/xfce4/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/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/glib-2.0/include
    -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -g -O2 -MT
    xfce4_timer-xfcetimer.o -MD -MP -MF .deps/xfce4_timer-xfcetimer.Tpo
    -c -o xfce4_timer-xfcetimer.o `test -f 'xfcetimer.c' || echo
    './'`xfcetimer.c<br>
    In file included from
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin.h:28:0,<br>
                     from
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:28,<br>
                     from
    /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/libxfce4panel.h:29,<br>
                     from xfcetimer.c:41:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:286:22:
    error: unknown type name ‘GdkEventClient’<br>
                          GdkEventClient  *event, \<br>
                          ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    xfcetimer.c: In function ‘_xpp_provider_signal’:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:390:5:
    error: unknown type name ‘GdkEventClient’<br>
         GdkEventClient  event; \<br>
         ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    In file included from
    /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,<br>
                     from /usr/include/glib-2.0/glib/gtypes.h:32,<br>
                     from /usr/include/glib-2.0/glib/galloca.h:32,<br>
                     from /usr/include/glib-2.0/glib.h:30,<br>
                     from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,<br>
                     from /usr/include/gtk-3.0/gdk/gdk.h:30,<br>
                     from /usr/include/gtk-3.0/gtk/gtk.h:30,<br>
                     from xfcetimer.c:36:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:394:23:
    warning: implicit declaration of function ‘GTK_IS_PLUG’
    [-Wimplicit-function-declaration]<br>
         g_return_if_fail (GTK_IS_PLUG (plug)); \<br>
                           ^<br>
    /usr/include/glib-2.0/glib/gmacros.h:370:8: note: in definition of
    macro ‘_G_BOOLEAN_EXPR’<br>
        if (expr)                                    \<br>
            ^<br>
    /usr/include/glib-2.0/glib/gmessages.h:368:9: note: in expansion of
    macro ‘G_LIKELY’<br>
          if G_LIKELY(expr) { } else            \<br>
             ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    In file included from
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin.h:28:0,<br>
                     from
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:28,<br>
                     from
    /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/libxfce4panel.h:29,<br>
                     from xfcetimer.c:41:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:412:14:
    warning: implicit declaration of function
    ‘gtk_plug_get_socket_window’ [-Wimplicit-function-declaration]<br>
         window = gtk_plug_get_socket_window (GTK_PLUG (plug)); \<br>
                  ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:412:42:
    warning: implicit declaration of function ‘GTK_PLUG’
    [-Wimplicit-function-declaration]<br>
         window = gtk_plug_get_socket_window (GTK_PLUG (plug)); \<br>
                                              ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:416:5:
    warning: implicit declaration of function
    ‘gdk_event_send_client_message’ [-Wimplicit-function-declaration]<br>
         gdk_event_send_client_message ((GdkEvent *) &event,
    GDK_WINDOW_XID (window)); \<br>
         ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    xfcetimer.c: At top level:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:425:17:
    error: unknown type name ‘GtkPlug’<br>
                     GtkPlug         *plug) \<br>
                     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    xfcetimer.c: In function ‘_xpp_expose_event’:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:460:10:
    warning: implicit declaration of function ‘GTK_WIDGET_DRAWABLE’
    [-Wimplicit-function-declaration]<br>
         if (!GTK_WIDGET_DRAWABLE (plug)) \<br>
              ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    In file included from /usr/include/gtk-3.0/gtk/gtk.h:263:0,<br>
                     from xfcetimer.c:36:<br>
    /usr/include/gtk-3.0/gtk/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/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin.h:28:0,<br>
                     from
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:28,<br>
                     from
    /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/libxfce4panel.h:29,<br>
                     from xfcetimer.c:41:<br>
    xfcetimer.c: At top level:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:531:23:
    error: unknown type name ‘GtkPlug’<br>
       _xpp_plug_embedded (GtkPlug *plug) \<br>
                           ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    xfcetimer.c: In function ‘main’:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:546:5:
    error: unknown type name ‘GdkNativeWindow’<br>
         GdkNativeWindow  socket_id; \<br>
         ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:547:5:
    error: unknown type name ‘GdkColormap’<br>
         GdkColormap     *colormap = NULL; \<br>
         ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:586:12:
    warning: implicit declaration of function ‘gtk_plug_new’
    [-Wimplicit-function-declaration]<br>
         plug = gtk_plug_new (socket_id); \<br>
                ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    In file included from /usr/include/glib-2.0/gobject/gobject.h:28:0,<br>
                     from /usr/include/glib-2.0/gobject/gbinding.h:29,<br>
                     from /usr/include/glib-2.0/glib-object.h:23,<br>
                     from /usr/include/glib-2.0/gio/gioenums.h:28,<br>
                     from /usr/include/glib-2.0/gio/giotypes.h:28,<br>
                     from /usr/include/glib-2.0/gio/gio.h:26,<br>
                     from
    /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,<br>
                     from /usr/include/gtk-3.0/gdk/gdk.h:32,<br>
                     from /usr/include/gtk-3.0/gtk/gtk.h:30,<br>
                     from xfcetimer.c:36:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/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>
                                                                ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:589:9:
    note: in expansion of macro ‘G_CALLBACK’<br>
             G_CALLBACK (_xpp_plug_embedded), NULL); \<br>
             ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/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>
                                                                ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:589:9:
    note: in expansion of macro ‘G_CALLBACK’<br>
             G_CALLBACK (_xpp_plug_embedded), NULL); \<br>
             ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    In file included from
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin.h:28:0,<br>
                     from
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:28,<br>
                     from
    /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/libxfce4panel.h:29,<br>
                     from xfcetimer.c:41:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:596:16:
    warning: implicit declaration of function
    ‘gdk_screen_get_rgba_colormap’ [-Wimplicit-function-declaration]<br>
         colormap = gdk_screen_get_rgba_colormap (screen); \<br>
                    ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:598:7:
    warning: implicit declaration of function ‘gtk_widget_set_colormap’
    [-Wimplicit-function-declaration]<br>
           gtk_widget_set_colormap (plug, colormap); \<br>
           ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    In file included from /usr/include/glib-2.0/gobject/gobject.h:28:0,<br>
                     from /usr/include/glib-2.0/gobject/gbinding.h:29,<br>
                     from /usr/include/glib-2.0/glib-object.h:23,<br>
                     from /usr/include/glib-2.0/gio/gioenums.h:28,<br>
                     from /usr/include/glib-2.0/gio/giotypes.h:28,<br>
                     from /usr/include/glib-2.0/gio/gio.h:26,<br>
                     from
    /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,<br>
                     from /usr/include/gtk-3.0/gdk/gdk.h:32,<br>
                     from /usr/include/gtk-3.0/gtk/gtk.h:30,<br>
                     from xfcetimer.c:36:<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/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>
                                                                ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:609:9:
    note: in expansion of macro ‘G_CALLBACK’<br>
             G_CALLBACK (_xpp_realize), plug); \<br>
             ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-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/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>
                                                                ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:621:8:
    note: in expansion of macro ‘G_CALLBACK’<br>
            G_CALLBACK (_xpp_client_event), xpp); \<br>
            ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:221:5:
    note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL’<br>
         XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_FULL (construct_func, NULL,
    NULL)<br>
         ^<br>
    xfcetimer.c:58:1: note: in expansion of macro
    ‘XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL’<br>
     XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL( create_plugin_control);<br>
     ^<br>
    xfcetimer.c: In function ‘update_function’:<br>
    xfcetimer.c:196:5: warning: format not a string literal and no
    format arguments [-Wformat-security]<br>
         GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, dialog_message);<br>
         ^<br>
    xfcetimer.c: In function ‘add_edit_clicked’:<br>
    xfcetimer.c:890:2: warning: implicit declaration of function
    ‘gtk_button_box_set_spacing’ [-Wimplicit-function-declaration]<br>
      gtk_button_box_set_spacing(GTK_BUTTON_BOX(hbox), BORDER);<br>
      ^<br>
    xfcetimer.c: In function ‘add_pbar’:<br>
    xfcetimer.c:1094:3: warning: implicit declaration of function
    ‘gtk_progress_bar_set_bar_style’ [-Wimplicit-function-declaration]<br>
       gtk_progress_bar_set_bar_style(GTK_PROGRESS_BAR(pd->pbar),<br>
       ^<br>
    xfcetimer.c:1095:5: error: ‘GTK_PROGRESS_CONTINUOUS’ undeclared
    (first use in this function)<br>
         GTK_PROGRESS_CONTINUOUS);<br>
         ^<br>
    xfcetimer.c:1109:3: warning: implicit declaration of function
    ‘gtk_progress_bar_set_orientation’ [-Wimplicit-function-declaration]<br>
       gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(pd->pbar),<br>
       ^<br>
    xfcetimer.c:1110:5: error: ‘GTK_PROGRESS_BOTTOM_TO_TOP’ undeclared
    (first use in this function)<br>
         GTK_PROGRESS_BOTTOM_TO_TOP);<br>
         ^<br>
    xfcetimer.c:1127:5: error: ‘GTK_PROGRESS_LEFT_TO_RIGHT’ undeclared
    (first use in this function)<br>
         GTK_PROGRESS_LEFT_TO_RIGHT);<br>
         ^<br>
    xfcetimer.c: In function ‘load_settings’:<br>
    xfcetimer.c:1173:4: warning: implicit declaration of function
    ‘g_sprintf’ [-Wimplicit-function-declaration]<br>
        g_sprintf(groupname, "G0");<br>
        ^<br>
    xfcetimer.c: In function ‘create_plugin_control’:<br>
    xfcetimer.c:1849:4: error: ‘GTK_PROGRESS_CONTINUOUS’ undeclared
    (first use in this function)<br>
        GTK_PROGRESS_CONTINUOUS);<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/xfce4-timer-plugin_meu_gtk3/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/xfce4-timer-plugin_meu_gtk3'<br>
    Makefile:403: recipe for target 'all' failed<br>
    make: *** [all] Error 2<br>
    <br>
    <br>
    End console<br>
    <br>
    Very thanks!<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 30/04/17 13:47, Dani wrote:<br>
    </div>
    <blockquote
      cite="mid:69edd4d6-6a71-5725-3995-ef719fb4af84@damufo.com"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">On 30/04/17 12:17, Dani wrote:<br>
      </div>
      <blockquote
        cite="mid:6a81accf-a086-eb7d-cb95-6a09da91d898@damufo.com"
        type="cite">Hello: <br>
        I rename subject <br>
        <br>
        On 29/04/17 21:43, Matthew Brush wrote: <br>
        <blockquote type="cite">On 2017-04-29 03:24 AM, Dani wrote: <br>
          <blockquote type="cite">[...] <br>
            Another thing <br>
            <br>
            When I execute ./autogen.sh <br>
            <br>
            The file, makefile, on line 266 (Refers to gtk2) <br>
            <br>
            LIBXFCE4PANEL_CFLAGS = -pthread
            -I/usr/include/xfce4/libxfce4panel-1.0 <br>
            -I/usr/include/gtk-2.0
            -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include <br>
            -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo <br>
            -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
            -I/usr/include/cairo <br>
            -I/usr/include/pixman-1 -I/usr/include/libpng12 <br>
            -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 <br>
            -I/usr/include/pango-1.0 -I/usr/include/harfbuzz <br>
            -I/usr/include/pango-1.0 -I/usr/include/freetype2
            -I/usr/include/xfce4 <br>
            -I/usr/include/glib-2.0
            -I/usr/lib/x86_64-linux-gnu/glib-2.0/include <br>
            <br>
            Is this correct? <br>
            <br>
          </blockquote>
          <br>
          No, you need to make sure libxfce4panel is building against
          GTK+3 as well. It looks like the git master branch does by
          default, but I'm not sure if that's what you're building
          against. <br>
          <br>
        </blockquote>
        Sorry, at this point I do not know what to do. <br>
        I searched in master xfce git and did not find the libxfce4 in
        gtk3 <br>
        Can you tell me where to go/continue? <br>
      </blockquote>
      In configure.in.in I changed lines:<br>
      XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0],
      [has4ui=true] , [XDT_CHECK_PACKAGE([LIBXFCEGUI4],
      [libxfcegui4-1.0], [4.2.0], [has4ui=false])])<br>
      XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20])<br>
      XDT_CHECK_OPTIONAL_PACKAGE([XFCE48], [libxfce4panel-1.0], [4.8.0])<br>
      <br>
      for<br>
      <br>
      XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.12.1],
      [has4ui=true] , [XDT_CHECK_PACKAGE([LIBXFCEGUI4],
      [libxfcegui4-2.0], [4.12.1], [has4ui=false])])<br>
      <br>
      XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.12.0])<br>
      XDT_CHECK_OPTIONAL_PACKAGE([XFCE48], [libxfce4panel-2.0],
      [4.12.0])<br>
      <br>
      <br>
      <span id="result_box" class="short_text" lang="en"><span class=""><span
            id="result_box" class="" lang="en"><span>Now it seems that</span>
            <span>everything</span> <span>has already</span> <span>generated</span>
            <span class="">gtk3</span><span>.</span></span>  <br>
          :-)<br>
          <br>
        </span></span>
      <blockquote
        cite="mid:6a81accf-a086-eb7d-cb95-6a09da91d898@damufo.com"
        type="cite">
        <blockquote type="cite">
          <blockquote type="cite">xfce4_timer-xfcetimer.o: In function
            `plugin_create_options': <br>
/home/usuario/pro_linux_c/xfce4-timer-plugin_meu_gtk3/src/xfcetimer.c:1615:
            <br>
            undefined reference to `gtk_button_box_new' <br>
          </blockquote>
          <br>
          That's your error right there. As you said above, it's
          building against GTK+2 still, but `gtk_button_box_new` is only
          available since GTK+ 3.0. This should go away once you get all
          your dependencies also building against GTK+ 3. <br>
        </blockquote>
        My goal is port to gtk3. <br>
      </blockquote>
      <br>
      <br>
      <blockquote
        cite="mid:6a81accf-a086-eb7d-cb95-6a09da91d898@damufo.com"
        type="cite">
        <blockquote type="cite"> <br>
          Regards, <br>
          Matthew Brush <br>
          <br>
          _______________________________________________ <br>
          Xfce4-dev mailing list <br>
          <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a> <br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="https://mail.xfce.org/mailman/listinfo/xfce4-dev">https://mail.xfce.org/mailman/listinfo/xfce4-dev</a>
          <br>
        </blockquote>
        <br>
        <br>
        _______________________________________________ <br>
        Xfce4-dev mailing list <br>
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
          href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a> <br>
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="https://mail.xfce.org/mailman/listinfo/xfce4-dev">https://mail.xfce.org/mailman/listinfo/xfce4-dev</a><br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Xfce4-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a>
<a class="moz-txt-link-freetext" href="https://mail.xfce.org/mailman/listinfo/xfce4-dev">https://mail.xfce.org/mailman/listinfo/xfce4-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>