Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
/* * This file: * (find-anggfile "DAVINCI/iup3_iupgtk_status_icon_hack.h") * http://angg.twu.net/DAVINCI/iup3_iupgtk_status_icon_hack.h * Written by Eduardo Ochs, 2007sep12. Public domain. * This is a patch to IUP3 to make it compile (!!!) with an older * version of Gtk. Note: this is a dirty hack and may not work. * * See: * (find-angg "DAVINCI/iup3_iupgtk_drv_patch1.h") * (find-es "davinci" "iup3_patch1.h") * (find-es "davinci" "GtkStatusIcon-disable") * (find-gtk20file "gtk/gtkversion.h") * (find-iup3file "src/gtk/iupgtk_drv.h") */ /* (find-iup3file "src/gtk/iupgtk_dialog.c") */ // #include <gtk/gtk.h> // #include "iupgtk_drv.h" // #if GTK_MAJOR_VERSION == 2 && GTK_MAJOR_VERSION < 10 // GtkStatusIcon *gtk_status_icon_new (void) { return NULL; } // void gtk_status_icon_set_from_pixbuf (GtkStatusIcon *status_icon, GdkPixbuf *pixbuf) {}; // void gtk_status_icon_set_tooltip (GtkStatusIcon *status_icon, const gchar *tooltip_text) {}; // void gtk_status_icon_set_visible (GtkStatusIcon *status_icon, gboolean visible) {}; void *gtk_status_icon_new () { return 0; } void gtk_status_icon_set_from_pixbuf () {}; void gtk_status_icon_set_tooltip () {}; void gtk_status_icon_set_visible () {}; // #endif