[Temp fix:] gtk_paint_string () in gnome-popup-help.c
- From: Martin Baulig <martin home-of-linux org>
- To: Gnome Mailing List <gnome-list gnome org>
- cc: jrb redhat com
- Subject: [Temp fix:] gtk_paint_string () in gnome-popup-help.c
- Date: Fri, 23 Oct 1998 10:15:34 +0200 (CEST)
Hey guys,
until we have a real fix for it, you can use the following patch to make
it compile (simply #ifdef it out).
Martin
Btw: It looks for me as the functions were missing somewhere in gtk/gdk,
so I don't commit this patch ...
==========================================================================
diff -u -r1.1 gnome-popup-help.c
--- gnome-popup-help.c 1998/10/22 00:33:03 1.1
+++ gnome-popup-help.c 1998/10/23 08:10:27
@@ -174,20 +174,23 @@
gap = 2;
baseline_skip = style->font->ascent + style->font->descent + gap;
-
+#if 0
gtk_paint_flat_box(style, darea->window,
GTK_STATE_NORMAL, GTK_SHADOW_OUT,
NULL, GTK_WIDGET(darea), "tooltip",
0, 0, -1, -1);
+#endif
y = style->font->ascent + 4;
for (el = data->row; el; el = el->next) {
if (el->data){
+#if 0
gtk_paint_string (style, darea->window,
GTK_STATE_NORMAL,
NULL, GTK_WIDGET(darea),
"tooltip",
4, y, el->data);
+#endif
y += baseline_skip;
}
else
-----------------------------------------------------------------
Martin Baulig - Angewandte Mathematik - Universitaet Trier
martin@home-of-linux.org, http://www.home-of-linux.org/
------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]