[patch] gtk_frame_set_label
- From: Owen Taylor <owt1 cornell edu>
- To: gtk-list <gtk-list redhat com>
- Subject: [patch] gtk_frame_set_label
- Date: 24 Sep 1997 18:32:34 -0400
Fixes a bug calling with gtk_frame_set_label before it is realized.
diff -c -r -P -X patch-exclude gtk+970916.orig/gtk/gtkframe.c gtk+970916/gtk/gtkframe.c
*** gtk+970916.orig/gtk/gtkframe.c Tue Sep 2 21:07:40 1997
--- gtk+970916/gtk/gtkframe.c Wed Sep 24 15:39:28 1997
***************
*** 131,137 ****
frame->label_height = 0;
}
! if (GTK_WIDGET_VISIBLE (frame))
{
GtkWidget *widget;
--- 131,137 ----
frame->label_height = 0;
}
! if (GTK_WIDGET_DRAWABLE (frame))
{
GtkWidget *widget;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]