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

@ -31,7 +31,7 @@ typedef struct _GimpHistogramBoxClass GimpHistogramBoxClass;
struct _GimpHistogramBox
{
GtkVBox parent_instance;
GtkBox parent_instance;
GimpHistogramView *view;
GtkWidget *color_bar;
@ -43,7 +43,7 @@ struct _GimpHistogramBox
struct _GimpHistogramBoxClass
{
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
};