Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#89 gexif doesn't build with latest GTK 2.13.2

closed-fixed
Dan Fandrich
gexif (5)
5
2013-03-14
2008-06-11
Brian Cameron
No

When I try to compile gexif 0.5 with the latest GTK 2.13.2, I see these errors compiling gexif-main.c

"/usr/include/gtk-2.0/gtk/gtksignal.h", line 93: syntax error before or at: GtkSignalRunType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 93: warning: undefined or missing type for: GtkSignalRunType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 94: warning: undefined or missing type for: GtkType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 95: warning: undefined or missing type for: guint
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 96: warning: undefined or missing type for: marshaller
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 97: warning: undefined or missing type for: GtkType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 98: warning: undefined or missing type for: guint
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 99: warning: undefined or missing type for: GtkType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 101: syntax error before or at: GtkSignalRunType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 101: warning: undefined or missing type for: GtkSignalRunType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 102: warning: undefined or missing type for: GtkType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 103: warning: undefined or missing type for: guint
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 104: warning: undefined or missing type for: marshaller
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 105: warning: undefined or missing type for: GtkType
"/usr/include/gtk-2.0/gtk/gtksignal.h", line 106: warning: undefined or missing type for: guint
"/usr/include/gtk-2.0/gtk/gtkpreview.h", line 91: syntax error before or at: type
"/usr/include/gtk-2.0/gtk/gtkpreview.h", line 91: warning: undefined or missing type for: type

Discussion

  • Brian Cameron
    Brian Cameron
    2008-06-11

    patch fixing problem

     
    Attachments
  • Brian Cameron
    Brian Cameron
    2008-06-11

    Logged In: YES
    user_id=689771
    Originator: YES

    The attached patch fixes the problem, by surrounding the "#include <gtk/gtkwindow.h>" line in gexif/gexif-main.h as follows:

    ++#undef GTK_DISABLE_DEPRECATED
    + #include <gtk/gtkwindow.h>
    ++#define GTK_DISABLE_DEPRECATED

     
  • Dan Fandrich
    Dan Fandrich
    2013-03-13

    • assigned_to: nobody --> dfandrich
    • status: open --> closed
     
  • Dan Fandrich
    Dan Fandrich
    2013-03-13

    GTK_DISABLE_DEPRECATED is no longer being set in the makefile.

     
  • Dan Fandrich
    Dan Fandrich
    2013-03-14

    • status: closed --> closed-fixed