OCaml 4.14.0 rebuild
[arch-packages.git] / libglade / trunk / libglade-2.0.1-nowarning.patch
blobfd071215fa0a4f6d2d0d4c46cc77529d9ef78b3a
1 --- libglade-2.0.1/glade/glade-gtk.c.nowarning 2003-08-29 14:50:10.000000000 -0400
2 +++ libglade-2.0.1/glade/glade-gtk.c 2003-08-29 14:58:41.000000000 -0400
3 @@ -639,9 +639,8 @@
4 if (!strcmp (childinfo->properties[j].name, "label")) {
5 label = childinfo->properties[j].value;
6 break;
7 - } else {
8 - g_warning ("Unknown CList child property: %s", childinfo->properties[j].name);
10 + /* Ignore all other properties */
13 if (label) {
14 @@ -683,6 +682,7 @@
15 char *icon = NULL;
16 gboolean use_stock = FALSE, active = FALSE, new_group = FALSE;
17 gboolean use_underline = FALSE;
18 + gboolean sensitive = TRUE;
19 GtkWidget *iconw = NULL;
20 int j;
22 @@ -708,6 +708,8 @@
23 group_name = value;
24 } else if (!strcmp (name, "new_group")) {
25 new_group = BOOL (value);
26 + } else if (!strcmp (name, "sensitive")) {
27 + sensitive = BOOL (value);
28 } else if (!strcmp (name, "visible")) {
29 /* ignore for now */
30 } else if (!strcmp (name, "tooltip")) {
31 @@ -785,6 +787,8 @@
32 gtk_label_set_use_underline (GTK_LABEL (toolbar_child->label),
33 TRUE);
36 + gtk_widget_set_sensitive (child, sensitive);
38 glade_xml_set_common_params (xml, child, childinfo->child);
39 } else {