app: don't inherit from GtkHBox or GtkVBox

Instead, inherit from GtkBox directly and set the orientation in
init().  Replace more gtk_container_add() by gtk_box_pack_start() in
the reparented classes.
This commit is contained in:
Michael Natterer
2010-10-30 15:44:46 +02:00
parent 060a08da5a
commit b9a7c121a4
44 changed files with 167 additions and 103 deletions

View File

@ -36,19 +36,19 @@ typedef struct _GimpProgressBoxClass GimpProgressBoxClass;
struct _GimpProgressBox
{
GtkVBox parent_instance;
GtkBox parent_instance;
gboolean active;
gboolean cancelable;
gdouble value;
gboolean active;
gboolean cancelable;
gdouble value;
GtkWidget *label;
GtkWidget *progress;
GtkWidget *label;
GtkWidget *progress;
};
struct _GimpProgressBoxClass
{
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
};