--- src/xplab_main_fe.c.orig 2007-08-05 13:27:40 +0400 +++ src/xplab_main_fe.c 2007-10-29 02:43:50 +0300 @@ -81,7 +81,7 @@ gint P_malloc_free = 0; /* typedef struct { GtkWidget *top_main, *about_dialog, *log_dump, *log_clear, *match_entry; - GtkTooltips *tips; + /*GtkTooltips *tips; */ gchar *text_store; /* stores all which cannot delivered to main log */ } main_def; @@ -108,7 +108,7 @@ static void license_text(gchar **buf); static void lib_text(gchar **buf); static void dump_main_log_text(const gchar *txt, gchar *fname); -static GtkTooltips *xplab_tooltips_new(void); +/* static GtkTooltips *xplab_tooltips_new(void); */ static void main_menu_bar(GtkWidget *vbox); static void main_menu_entry_file(GtkWidget *menu_bar); static void main_menu_entry_match(GtkWidget *menu_bar); @@ -488,8 +488,8 @@ main_log_window(void) { GtkWidget *vbox; - md.tips = xplab_tooltips_new(); /* create the general tooltips group */ - xplab_tooltips(xplab_query_tips()); +/* md.tips = xplab_tooltips_new();*/ /* create the general tooltips group */ +/* xplab_tooltips(xplab_query_tips()); */ /* set the main top level widget */ md.top_main = gtk_window_new(GTK_WINDOW_TOPLEVEL); @@ -654,6 +655,7 @@ Revision: 29.07.2005 E.Sack Input : - - Output: - tooltip group */ +#ifdef HEHEHE static GtkTooltips* xplab_tooltips_new(void) { @@ -679,7 +681,7 @@ xplab_tooltips_new(void) return tips; } - +#endif /* Sets up tool tip group. --- src/xplab_main_fe.c.orig 2007-08-05 13:27:40 +0400 +++ src/xplab_main_fe.c 2007-10-29 02:47:39 +0300 @@ -693,13 +693,6 @@ void xplab_tooltips_set_tip(GtkWidget *widget, const gchar *tip_text, const gchar *tip_private) { - if (GTK_WIDGET_NO_WINDOW(widget) == TRUE) { - return; - } - - assert(GTK_IS_TOOLTIPS(md.tips) == TRUE); - - gtk_tooltips_set_tip(GTK_TOOLTIPS(md.tips), widget, tip_text, tip_private); } --- src/xplab_main_fe.c.orig 2007-08-05 13:27:40 +0400 +++ src/xplab_main_fe.c 2007-10-29 02:50:39 +0300 @@ -633,16 +633,6 @@ Output: - tooltip group updated void xplab_tooltips(gboolean enable) { - if (GTK_IS_TOOLTIPS(md.tips) == FALSE) { - return; - } - - if (enable == TRUE) { - gtk_tooltips_enable(GTK_TOOLTIPS(md.tips)); - } - else { - gtk_tooltips_disable(GTK_TOOLTIPS(md.tips)); - } }