forked from AuroraMiddleware/gtk
some gtk_*_set_arg fixes
-timj
This commit is contained in:
parent
b2140a2322
commit
fb48f5a356
@ -125,6 +125,9 @@ gtk_box_set_arg (GtkBox *box,
|
||||
case ARG_HOMOGENEOUS:
|
||||
gtk_box_set_homogeneous (box, GTK_VALUE_BOOL (*arg));
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -231,6 +231,9 @@ gtk_button_set_arg (GtkButton *button,
|
||||
gtk_container_add (GTK_CONTAINER (button), label);
|
||||
gtk_container_enable_resize (GTK_CONTAINER (button));
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -229,6 +229,9 @@ gtk_container_set_arg (GtkContainer *container,
|
||||
case ARG_CHILD:
|
||||
gtk_container_add (container, GTK_WIDGET (GTK_VALUE_OBJECT (*arg)));
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -250,6 +253,7 @@ gtk_container_get_arg (GtkContainer *container,
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -131,6 +131,9 @@ gtk_frame_set_arg (GtkFrame *frame,
|
||||
case ARG_SHADOW:
|
||||
gtk_frame_set_shadow_type (frame, GTK_VALUE_ENUM (*arg));
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -99,6 +99,9 @@ static void gtk_label_set_arg (GtkLabel *label,
|
||||
case ARG_JUSTIFY:
|
||||
gtk_label_set_justify (label, GTK_VALUE_ENUM (*arg));
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -206,6 +206,9 @@ gtk_object_set_arg (GtkObject *object,
|
||||
(GtkSignalFunc) GTK_VALUE_SIGNAL (*arg).f,
|
||||
(GtkObject*) GTK_VALUE_SIGNAL (*arg).d);
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -762,6 +762,9 @@ gtk_widget_set_arg (GtkWidget *widget,
|
||||
case ARG_PARENT:
|
||||
gtk_container_add (GTK_CONTAINER (GTK_VALUE_OBJECT (*arg)), widget);
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -858,6 +861,7 @@ gtk_widget_get_arg (GtkWidget *widget,
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -250,6 +250,9 @@ gtk_window_set_arg (GtkWindow *window,
|
||||
case ARG_WIN_POS:
|
||||
gtk_window_position (window, GTK_VALUE_ENUM (*arg));
|
||||
break;
|
||||
default:
|
||||
arg->type = GTK_TYPE_INVALID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user