Commit 29b3a0da authored by Kjartan Maraas's avatar Kjartan Maraas

Revert accidental commit

parent c46fad12
......@@ -2537,11 +2537,11 @@ brasero_burn_dialog_init (BraseroBurnDialog * obj)
TRUE,
0);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
vbox = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox);
gtk_container_add (GTK_CONTAINER (alignment), vbox);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
box = gtk_hbox_new (FALSE, 0);
gtk_widget_show (box);
gtk_box_pack_start (GTK_BOX (vbox), box, FALSE, TRUE, 0);
......
......@@ -127,7 +127,7 @@ brasero_burn_options_add_source (BraseroBurnOptions *self,
GtkWidget *hbox;
GtkWidget *alignment;
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
hbox = gtk_hbox_new (FALSE, 12);
gtk_widget_show (hbox);
gtk_box_pack_start (GTK_BOX (hbox), child, TRUE, TRUE, 0);
......@@ -619,7 +619,7 @@ brasero_burn_options_build_contents (BraseroBurnOptions *object)
0);
/* Medium selection box */
selection = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
selection = gtk_hbox_new (FALSE, 12);
gtk_widget_show (selection);
alignment = gtk_alignment_new (0.0, 0.5, 1.0, 1.0);
......@@ -671,7 +671,7 @@ brasero_burn_options_build_contents (BraseroBurnOptions *object)
0);
priv->options_placeholder = alignment;
priv->options = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
priv->options = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (alignment), priv->options);
g_signal_connect (priv->session,
......@@ -706,7 +706,7 @@ brasero_burn_options_reset (BraseroBurnOptions *self)
priv->options = NULL;
}
priv->options = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
priv->options = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (priv->options_placeholder), priv->options);
if (priv->source) {
......
......@@ -697,7 +697,7 @@ brasero_drive_properties_init (BraseroDriveProperties *object)
priv = BRASERO_DRIVE_PROPERTIES_PRIVATE (object);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
vbox = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox);
gtk_container_add (GTK_CONTAINER (object), vbox);
......@@ -772,7 +772,7 @@ brasero_drive_properties_init (BraseroDriveProperties *object)
image = gtk_image_new_from_icon_name ("folder", GTK_ICON_SIZE_BUTTON);
gtk_widget_show (image);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
box = gtk_hbox_new (FALSE, 6);
gtk_widget_show (box);
gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 0);
......@@ -782,7 +782,7 @@ brasero_drive_properties_init (BraseroDriveProperties *object)
gtk_container_add (GTK_CONTAINER (button), box);
gtk_widget_set_tooltip_text (button, _("Set the directory where to store temporary files"));
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
box = gtk_hbox_new (FALSE, 6);
gtk_widget_show (box);
string = g_strdup_printf ("<b>%s</b>", _("Temporary files"));
......
......@@ -230,7 +230,7 @@ brasero_image_properties_set_formats (BraseroImageProperties *self,
GtkWidget *label;
GtkWidget *dialog_box;
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
box = gtk_hbox_new (FALSE, 6);
gtk_container_set_border_width (GTK_CONTAINER (box), 4);
dialog_box = gtk_dialog_get_content_area (GTK_DIALOG (self));
......
......@@ -43,7 +43,7 @@
#define BRASERO_IMAGE_TYPE_CHOOSER_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BRASERO_TYPE_IMAGE_TYPE_CHOOSER, BraseroImageTypeChooserPrivate))
G_DEFINE_TYPE (BraseroImageTypeChooser, brasero_image_type_chooser, GTK_TYPE_BOX);
G_DEFINE_TYPE (BraseroImageTypeChooser, brasero_image_type_chooser, GTK_TYPE_HBOX);
enum {
FORMAT_TEXT,
......@@ -67,7 +67,7 @@ struct _BraseroImageTypeChooserPrivate {
guint updating:1;
};
static GtkBoxClass *parent_class = NULL;
static GtkHBoxClass *parent_class = NULL;
guint
brasero_image_type_chooser_set_formats (BraseroImageTypeChooser *self,
......
......@@ -50,11 +50,11 @@ typedef struct _BraseroImageTypeChooserPrivate BraseroImageTypeChooserPrivate;
typedef struct _BraseroImageTypeChooserClass BraseroImageTypeChooserClass;
struct _BraseroImageTypeChooser {
GtkBox parent;
GtkHBox parent;
};
struct _BraseroImageTypeChooserClass {
GtkBoxClass parent_class;
GtkHBoxClass parent_class;
};
GType brasero_image_type_chooser_get_type (void);
......
......@@ -98,7 +98,7 @@ brasero_burn_progress_get_type ()
(GInstanceInitFunc)brasero_burn_progress_init,
};
type = g_type_register_static(GTK_TYPE_BOX,
type = g_type_register_static(GTK_TYPE_VBOX,
"BraseroBurnProgress",
&our_info,
0);
......@@ -308,13 +308,13 @@ brasero_burn_progress_init (BraseroBurnProgress *obj)
obj->priv = g_new0 (BraseroBurnProgressPrivate, 1);
gtk_box_set_spacing (GTK_BOX (obj), 2);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
box = gtk_hbox_new (FALSE, 0);
obj->priv->progress = gtk_progress_bar_new ();
gtk_progress_bar_set_text (GTK_PROGRESS_BAR (obj->priv->progress), " ");
gtk_box_pack_start (GTK_BOX (box), obj->priv->progress, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (obj), box, TRUE, TRUE, 2);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 24);
box = gtk_hbox_new (FALSE, 24);
gtk_box_pack_start (GTK_BOX (obj), box, FALSE, FALSE, 0);
obj->priv->action = gtk_label_new (NULL);
......
......@@ -51,12 +51,12 @@ G_BEGIN_DECLS
typedef struct BraseroBurnProgressPrivate BraseroBurnProgressPrivate;
typedef struct {
GtkBox parent;
GtkVBox parent;
BraseroBurnProgressPrivate *priv;
} BraseroBurnProgress;
typedef struct {
GtkBoxClass parent_class;
GtkVBoxClass parent_class;
} BraseroBurnProgressClass;
GType brasero_burn_progress_get_type (void);
......
......@@ -456,7 +456,7 @@ brasero_src_image_clicked (GtkButton *button)
gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (priv->file), filter);
/* add the type chooser to the dialog */
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
box = gtk_hbox_new (FALSE, 6);
gtk_widget_show (box);
gtk_box_pack_end (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (priv->file))),
box,
......@@ -564,7 +564,7 @@ brasero_src_image_init (BraseroSrcImage *object)
image = gtk_image_new_from_icon_name ("iso-image-new", GTK_ICON_SIZE_BUTTON);
gtk_widget_show (image);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
box = gtk_hbox_new (FALSE, 6);
gtk_widget_show (box);
gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 0);
......
......@@ -427,7 +427,7 @@ brasero_status_dialog_init (BraseroStatusDialog *object)
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL);
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 4);
box = gtk_vbox_new (FALSE, 4);
gtk_widget_show (box);
main_box = gtk_dialog_get_content_area (GTK_DIALOG (object));
gtk_box_pack_end (GTK_BOX (main_box),
......
......@@ -687,7 +687,7 @@ brasero_sum_dialog_init (BraseroSumDialog *obj)
priv->session = brasero_burn_session_new ();
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
box = gtk_vbox_new (FALSE, 6);
priv->md5_check = gtk_check_button_new_with_mnemonic (_("Use an _MD5 file to check the disc"));
gtk_widget_set_tooltip_text (priv->md5_check, _("Use an external .md5 file that stores the checksum of a disc"));
......
......@@ -530,7 +530,7 @@ brasero_tool_dialog_init (BraseroToolDialog *obj)
priv = BRASERO_TOOL_DIALOG_PRIVATE (obj);
/* upper part */
priv->upper_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
priv->upper_box = gtk_vbox_new (FALSE, 0);
gtk_widget_show (GTK_WIDGET (priv->upper_box));
priv->selector = brasero_medium_selection_new ();
......@@ -558,7 +558,7 @@ brasero_tool_dialog_init (BraseroToolDialog *obj)
0);
/* lower part */
priv->lower_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
priv->lower_box = gtk_vbox_new (FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (priv->lower_box), 12);
gtk_widget_set_sensitive (priv->lower_box, FALSE);
gtk_widget_show (priv->lower_box);
......
......@@ -437,7 +437,7 @@ brasero_video_options_init (BraseroVideoOptions *object)
priv = BRASERO_VIDEO_OPTIONS_PRIVATE (object);
gtk_container_set_border_width (GTK_CONTAINER (object), 6);
widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
widget = gtk_vbox_new (FALSE, 0);
table = gtk_table_new (3, 4, FALSE);
gtk_table_set_col_spacings (GTK_TABLE (table), 8);
......
......@@ -346,7 +346,7 @@ brasero_disc_message_init (BraseroDiscMessage *object)
main_box = gtk_info_bar_get_content_area (GTK_INFO_BAR (object));
priv->text_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
priv->text_box = gtk_vbox_new (FALSE, 6);
gtk_widget_show (priv->text_box);
gtk_box_pack_start (GTK_BOX (main_box), priv->text_box, FALSE, FALSE, 0);
......
......@@ -222,7 +222,7 @@ brasero_jacket_background_init (BraseroJacketBackground *object)
priv = BRASERO_JACKET_BACKGROUND_PRIVATE (object);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_widget_show (vbox);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (object))), vbox, TRUE, TRUE, 0);
......@@ -233,7 +233,7 @@ brasero_jacket_background_init (BraseroJacketBackground *object)
gtk_widget_show (radio);
gtk_box_pack_start (GTK_BOX (vbox), radio, FALSE, TRUE, 0);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
hbox = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
......@@ -247,11 +247,11 @@ brasero_jacket_background_init (BraseroJacketBackground *object)
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, TRUE, 0);
vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
vbox2 = gtk_vbox_new (FALSE, 6);
gtk_widget_show (vbox2);
gtk_box_pack_start (GTK_BOX (hbox), vbox2, FALSE, TRUE, 0);
hbox2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
hbox2 = gtk_hbox_new (FALSE, 12);
gtk_widget_show (hbox2);
gtk_box_pack_start (GTK_BOX (vbox2), hbox2, FALSE, TRUE, 0);
......@@ -283,7 +283,7 @@ brasero_jacket_background_init (BraseroJacketBackground *object)
gtk_widget_show (radio);
gtk_box_pack_start (GTK_BOX (vbox), radio, FALSE, TRUE, 0);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
hbox = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox);
gtk_widget_set_sensitive (hbox, FALSE);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
......
......@@ -76,7 +76,7 @@ enum {
SNAP_NUM_COL
};
G_DEFINE_TYPE (BraseroJacketEdit, brasero_jacket_edit, GTK_TYPE_BOX);
G_DEFINE_TYPE (BraseroJacketEdit, brasero_jacket_edit, GTK_TYPE_VBOX);
static void
brasero_jacket_edit_print_page (GtkPrintOperation *operation,
......@@ -712,7 +712,7 @@ brasero_jacket_edit_init (BraseroJacketEdit *object)
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), GTK_TOOL_ITEM (priv->colours), 1);
/* contents */
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 4);
vbox = gtk_vbox_new (FALSE, 4);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 8);
gtk_widget_show (vbox);
gtk_box_pack_start (GTK_BOX (object), vbox, TRUE, TRUE, 0);
......@@ -724,7 +724,7 @@ brasero_jacket_edit_init (BraseroJacketEdit *object)
gtk_widget_show (scroll);
gtk_box_pack_start (GTK_BOX (vbox), scroll, TRUE, TRUE, 0);
main_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
main_box = gtk_vbox_new (FALSE, 0);
gtk_widget_show (main_box);
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scroll), main_box);
......
......@@ -51,12 +51,12 @@ typedef struct _BraseroJacketEdit BraseroJacketEdit;
struct _BraseroJacketEditClass
{
GtkBoxClass parent_class;
GtkVBoxClass parent_class;
};
struct _BraseroJacketEdit
{
GtkBox parent_instance;
GtkVBox parent_instance;
};
GType brasero_jacket_edit_get_type (void) G_GNUC_CONST;
......
......@@ -73,7 +73,7 @@ static const guint16 font_sizes[] = {
static guint jacket_font_signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (BraseroJacketFont, brasero_jacket_font, GTK_TYPE_BOX);
G_DEFINE_TYPE (BraseroJacketFont, brasero_jacket_font, GTK_TYPE_HBOX);
static void
brasero_jacket_font_family_changed_cb (GtkComboBox *combo,
......
......@@ -49,12 +49,12 @@ typedef struct _BraseroJacketFont BraseroJacketFont;
struct _BraseroJacketFontClass
{
GtkBoxClass parent_class;
GtkHBoxClass parent_class;
};
struct _BraseroJacketFont
{
GtkBox parent_instance;
GtkHBox parent_instance;
};
GType brasero_jacket_font_get_type (void) G_GNUC_CONST;
......
......@@ -298,10 +298,10 @@ brasero_utils_pack_properties_list (const gchar *title, GSList *list)
GtkWidget *label;
GSList *iter;
vbox_main = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
vbox_main = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox_main);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
hbox = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox);
gtk_box_pack_end (GTK_BOX (vbox_main),
hbox,
......@@ -317,7 +317,7 @@ brasero_utils_pack_properties_list (const gchar *title, GSList *list)
TRUE,
0);
vbox_prop = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
vbox_prop = gtk_vbox_new (FALSE, 6);
gtk_widget_show (vbox_prop);
gtk_box_pack_start (GTK_BOX (hbox),
vbox_prop,
......@@ -336,7 +336,7 @@ brasero_utils_pack_properties_list (const gchar *title, GSList *list)
GtkWidget *vbox;
GtkWidget *label;
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
vbox = gtk_vbox_new (FALSE, 0);
label = gtk_label_new (title);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
......
......@@ -123,5 +123,5 @@ brasero_notify_message_add (GtkWidget *self,
GtkWidget *
brasero_notify_new (void)
{
return gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
return gtk_vbox_new (TRUE, 0);
}
......@@ -50,7 +50,7 @@ enum {
static guint signals [LAST_SIGNAL] = { 0, };
G_DEFINE_TYPE (NautilusDiscBurnBar, nautilus_disc_burn_bar, GTK_TYPE_BOX)
G_DEFINE_TYPE (NautilusDiscBurnBar, nautilus_disc_burn_bar, GTK_TYPE_HBOX)
const gchar *
nautilus_disc_burn_bar_get_icon (NautilusDiscBurnBar *bar)
......
......@@ -38,13 +38,13 @@ typedef struct NautilusDiscBurnBarPrivate NautilusDiscBurnBarPrivate;
typedef struct
{
GtkBox box;
GtkHBox box;
NautilusDiscBurnBarPrivate *priv;
} NautilusDiscBurnBar;
typedef struct
{
GtkBoxClass parent_class;
GtkHBoxClass parent_class;
void (* title_changed) (NautilusDiscBurnBar *bar);
void (* icon_changed) (NautilusDiscBurnBar *bar);
......
......@@ -1888,7 +1888,7 @@ brasero_app_create_mainwin (BraseroApp *app)
app);
/* contents */
priv->contents = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
priv->contents = gtk_vbox_new (FALSE, 0);
gtk_widget_show (priv->contents);
gtk_container_add (GTK_CONTAINER (priv->mainwin), priv->contents);
......@@ -1930,7 +1930,7 @@ brasero_app_create_mainwin (BraseroApp *app)
gtk_box_pack_start (GTK_BOX (priv->contents), priv->projects, TRUE, TRUE, 0);
/* status bar to display the size of selected files */
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
hbox = gtk_hbox_new (TRUE, 0);
gtk_widget_show (hbox);
gtk_box_pack_end (GTK_BOX (priv->contents), hbox, FALSE, TRUE, 0);
......
......@@ -229,7 +229,7 @@ static void brasero_audio_disc_iface_disc_init (BraseroDiscIface *iface);
G_DEFINE_TYPE_WITH_CODE (BraseroAudioDisc,
brasero_audio_disc,
GTK_TYPE_BOX,
GTK_TYPE_VBOX,
G_IMPLEMENT_INTERFACE (BRASERO_TYPE_DISC,
brasero_audio_disc_iface_disc_init));
static gboolean
......
......@@ -44,12 +44,12 @@ G_BEGIN_DECLS
typedef struct _BraseroAudioDiscPrivate BraseroAudioDiscPrivate;
typedef struct {
GtkBox parent;
GtkVBox parent;
BraseroAudioDiscPrivate *priv;
} BraseroAudioDisc;
typedef struct {
GtkBoxClass parent_class;
GtkVBoxClass parent_class;
} BraseroAudioDiscClass;
GType brasero_audio_disc_get_type (void);
......
......@@ -185,7 +185,7 @@ brasero_data_disc_iface_disc_init (BraseroDiscIface *iface);
G_DEFINE_TYPE_WITH_CODE (BraseroDataDisc,
brasero_data_disc,
GTK_TYPE_BOX,
GTK_TYPE_VBOX,
G_IMPLEMENT_INTERFACE (BRASERO_TYPE_DISC,
brasero_data_disc_iface_disc_init));
......@@ -2265,7 +2265,7 @@ brasero_data_disc_init (BraseroDataDisc *object)
gtk_box_set_spacing (GTK_BOX (object), 8);
mainbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
mainbox = gtk_vbox_new (FALSE, 0);
gtk_widget_show (mainbox);
gtk_box_pack_start (GTK_BOX (object), mainbox, TRUE, TRUE, 0);
......
......@@ -43,12 +43,12 @@ typedef struct _BraseroDataDisc BraseroDataDisc;
struct _BraseroDataDiscClass
{
GtkBoxClass parent_class;
GtkVBoxClass parent_class;
};
struct _BraseroDataDisc
{
GtkBox parent_instance;
GtkVBox parent_instance;
};
GType brasero_data_disc_get_type (void) G_GNUC_CONST;
......
......@@ -167,7 +167,7 @@ brasero_eject_dialog_init (BraseroEjectDialog *obj)
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
gtk_widget_show (label);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
hbox = gtk_hbox_new (FALSE, 8);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 8);
gtk_widget_show (hbox);
gtk_box_pack_start (GTK_BOX (box), hbox, FALSE, TRUE, 0);
......
......@@ -415,7 +415,7 @@ brasero_file_chooser_find_pane (GtkWidget *child,
vbox = gtk_paned_get_child2 (GTK_PANED (child));
children_vbox = gtk_container_get_children (GTK_CONTAINER (vbox));
for (iter_vbox = children_vbox; iter_vbox; iter_vbox = iter_vbox->next) {
if (GTK_IS_BOX (iter_vbox->data)) {
if (GTK_IS_HBOX (iter_vbox->data)) {
GtkPackType packing;
gtk_box_query_child_packing (GTK_BOX (vbox),
......
......@@ -217,11 +217,11 @@ brasero_file_filtered_init (BraseroFileFiltered *object)
gtk_widget_set_tooltip_text (GTK_WIDGET (object), _("Select the files you want to restore and click on the \"Restore\" button"));
mainbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
mainbox = gtk_vbox_new (FALSE, 10);
gtk_widget_show (mainbox);
gtk_container_add (GTK_CONTAINER (object), mainbox);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
hbox = gtk_hbox_new (FALSE, 6);
gtk_widget_show (hbox);
priv->tree = gtk_tree_view_new ();
......@@ -285,7 +285,7 @@ brasero_file_filtered_init (BraseroFileFiltered *object)
TRUE,
0);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
vbox = gtk_vbox_new (FALSE, 6);
gtk_widget_show (vbox);
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
......
......@@ -43,7 +43,7 @@ struct _BraseroFilterOptionPrivate
#define BRASERO_FILTER_OPTION_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BRASERO_TYPE_FILTER_OPTION, BraseroFilterOptionPrivate))
G_DEFINE_TYPE (BraseroFilterOption, brasero_filter_option, GTK_TYPE_BOX);
G_DEFINE_TYPE (BraseroFilterOption, brasero_filter_option, GTK_TYPE_VBOX);
static void
brasero_filter_option_init (BraseroFilterOption *object)
......
......@@ -41,12 +41,12 @@ typedef struct _BraseroFilterOption BraseroFilterOption;
struct _BraseroFilterOptionClass
{
GtkBoxClass parent_class;
GtkVBoxClass parent_class;
};
struct _BraseroFilterOption
{
GtkBox parent_instance;
GtkVBox parent_instance;
};
GType brasero_filter_option_get_type (void) G_GNUC_CONST;
......
......@@ -44,7 +44,7 @@
#include "brasero-uri-container.h"
#include "brasero-layout-object.h"
G_DEFINE_TYPE (BraseroLayout, brasero_layout, GTK_TYPE_BOX);
G_DEFINE_TYPE (BraseroLayout, brasero_layout, GTK_TYPE_VBOX);
enum {
TEXT_COL,
......@@ -514,7 +514,7 @@ brasero_layout_add_source (BraseroLayout *layout,
GtkTreeModel *model;
BraseroLayoutItem *item;
pane = gtk_box_new (GTK_ORIENTATION_VERTICAL, 1);
pane = gtk_vbox_new (FALSE, 1);
gtk_widget_hide (pane);
gtk_box_pack_end (GTK_BOX (pane), source, TRUE, TRUE, 0);
g_signal_connect (pane,
......@@ -1096,12 +1096,12 @@ brasero_layout_init (BraseroLayout *obj)
gtk_action_group_add_radio_actions (obj->priv->action_group,
radio_entries,
sizeof (radio_entries) / sizeof (GtkRadioActionEntry),
GTK_IS_PANED (obj->priv->pane),
GTK_IS_VPANED (obj->priv->pane),
G_CALLBACK (brasero_layout_HV_radio_button_toggled_cb),
obj);
/* set up pane for project */
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
box = gtk_vbox_new (FALSE, 0);
gtk_widget_show (box);
if (obj->priv->layout_type == BRASERO_LAYOUT_TOP
......@@ -1120,12 +1120,12 @@ brasero_layout_init (BraseroLayout *obj)
else
gtk_paned_pack1 (GTK_PANED (obj->priv->pane), alignment, TRUE, TRUE);
obj->priv->main_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
obj->priv->main_box = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (alignment), obj->priv->main_box);
gtk_widget_show (obj->priv->main_box);
/* close button and combo. Don't show it now. */
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
box = gtk_hbox_new (FALSE, 6);
obj->priv->top_box = box;
gtk_box_pack_start (GTK_BOX (obj->priv->main_box),
box,
......
......@@ -55,12 +55,12 @@ typedef enum {
} BraseroLayoutType;
typedef struct {
GtkPaned parent;
GtkHPaned parent;
BraseroLayoutPrivate *priv;
} BraseroLayout;
typedef struct {
GtkPanedClass parent_class;
GtkHPanedClass parent_class;
} BraseroLayoutClass;
GType brasero_layout_get_type (void);
......
......@@ -302,7 +302,7 @@ brasero_multi_song_props_init (BraseroMultiSongProps *object)
NULL);
/* second part of the dialog */
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
box = gtk_hbox_new (FALSE, 6);
gtk_widget_show (box);
title = g_strdup_printf ("<b>%s</b>", _("Options"));
......
......@@ -785,7 +785,7 @@ brasero_player_init (BraseroPlayer *obj)
gtk_alignment_set (GTK_ALIGNMENT (obj), 0.5, 0.5, 0.0, 0.0);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
vbox = gtk_vbox_new (FALSE, 2);
gtk_widget_show (vbox);
gtk_container_add (GTK_CONTAINER (obj), vbox);
......@@ -910,7 +910,7 @@ brasero_player_init (BraseroPlayer *obj)
obj->priv->video_height);
/* A few controls */
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
hbox = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
......
......@@ -96,7 +96,7 @@ static void brasero_playlist_iface_layout_object_init (BraseroLayoutObjectIFace
G_DEFINE_TYPE_WITH_CODE (BraseroPlaylist,
brasero_playlist,
GTK_TYPE_BOX,
GTK_TYPE_VBOX,
G_IMPLEMENT_INTERFACE (BRASERO_TYPE_URI_CONTAINER,
brasero_playlist_iface_uri_container_init)
G_IMPLEMENT_INTERFACE (BRASERO_TYPE_LAYOUT_OBJECT,
......@@ -698,7 +698,7 @@ brasero_playlist_init (BraseroPlaylist *obj)
obj->priv = g_new0 (BraseroPlaylistPrivate, 1);
gtk_box_set_spacing (GTK_BOX (obj), BRASERO_PLAYLIST_SPACING);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
hbox = gtk_hbox_new (FALSE, 8);
gtk_widget_show (hbox);
obj->priv->button_add = gtk_button_new_from_stock (GTK_STOCK_ADD);
......
......@@ -47,12 +47,12 @@ G_BEGIN_DECLS
typedef struct BraseroPlaylistPrivate BraseroPlaylistPrivate;
typedef struct {
GtkBox parent;
GtkVBox parent;
BraseroPlaylistPrivate *priv;
} BraseroPlaylist;
typedef struct {
GtkBoxClass parent_class;
GtkVBoxClass parent_class;
} BraseroPlaylistClass;
GType brasero_playlist_get_type (void);
......
......@@ -78,7 +78,7 @@ struct _BraseroPluginManagerUIPrivate
GSList *plugins;
};
G_DEFINE_TYPE (BraseroPluginManagerUI, brasero_plugin_manager_ui, GTK_TYPE_BOX)
G_DEFINE_TYPE (BraseroPluginManagerUI, brasero_plugin_manager_ui, GTK_TYPE_VBOX)
static void plugin_manager_ui_toggle_active (GtkTreeIter *iter, GtkTreeModel *model);
static void brasero_plugin_manager_ui_finalize (GObject *object);
......@@ -937,12 +937,12 @@ brasero_plugin_manager_ui_init (BraseroPluginManagerUI *pm)
gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 0, 0, 12, 0);
gtk_box_pack_start (GTK_BOX (pm), alignment, TRUE, TRUE, 0);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
vbox = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox);
gtk_container_add (GTK_CONTAINER (alignment), vbox);
/* bottom part: tree, buttons */
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
hbox = gtk_hbox_new (FALSE, 12);
gtk_widget_show (hbox);
gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 6);
......@@ -958,7 +958,7 @@ brasero_plugin_manager_ui_init (BraseroPluginManagerUI *pm)
priv->tree = gtk_tree_view_new ();
gtk_container_add (GTK_CONTAINER (viewport), priv->tree);