Bug #656143 - Stop using deprecated Gtk[HV]Box(Class)

This commit is contained in:
Dominique Leuenberger
2012-11-06 18:33:37 +01:00
committed by Milan Crha
parent 3e52c7380b
commit cd27672f61
18 changed files with 34 additions and 34 deletions

View File

@ -61,12 +61,12 @@ typedef struct _ETimezoneEntryClass ETimezoneEntryClass;
typedef struct _ETimezoneEntryPrivate ETimezoneEntryPrivate;
struct _ETimezoneEntry {
GtkHBox parent;
GtkBox parent;
ETimezoneEntryPrivate *priv;
};
struct _ETimezoneEntryClass {
GtkHBoxClass parent_class;
GtkBoxClass parent_class;
void (*changed) (ETimezoneEntry *timezone_entry);
};

View File

@ -1443,7 +1443,7 @@ e_config_page_check (EConfig *config,
* Retrieve the page widget corresponding to @pageid.
*
* Return value: The page widget. It will be the root GtkNotebook
* container or the GtkVBox object inside the assistant.
* container or the GtkBox object inside the assistant.
**/
GtkWidget *
e_config_page_get (EConfig *ec,

View File

@ -122,9 +122,9 @@ enum _e_config_target_change_t {
* @E_CONFIG_SECTION: A section in the configuration page. A page for
* this section must have already been defined. The item @label if
* supplied will be setup as a borderless hig-compliant frame title.
* The content of the section will be a GtkVBox. If a factory is used
* The content of the section will be a GtkBox. If a factory is used
* then it is up to the factory method to create the section and add
* it to the parent page, and return a GtkVBox for following sections.
* it to the parent page, and return a GtkBox for following sections.
* @E_CONFIG_SECTION_TABLE: A table section. The same as an
* @E_CONFIG_SECTION but the content object is a GtkTable instead.
* @E_CONFIG_ITEM: A configuration item. It must have a parent

View File

@ -53,12 +53,12 @@ typedef struct _EMailViewClass EMailViewClass;
typedef struct _EMailViewPrivate EMailViewPrivate;
struct _EMailView {
GtkVBox parent;
GtkBox parent;
EMailViewPrivate *priv;
};
struct _EMailViewClass {
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
/* Signals */
void (*pane_close) (EMailView *view);

View File

@ -54,7 +54,7 @@ typedef struct _ECalendarPreferences ECalendarPreferences;
typedef struct _ECalendarPreferencesClass ECalendarPreferencesClass;
struct _ECalendarPreferences {
GtkVBox parent;
GtkBox parent;
GtkBuilder *builder;
@ -75,7 +75,7 @@ struct _ECalendarPreferences {
};
struct _ECalendarPreferencesClass {
GtkVBoxClass parent;
GtkBoxClass parent;
};
GType e_calendar_preferences_get_type (void);

View File

@ -56,7 +56,7 @@ typedef struct _EMComposerPrefsClass EMComposerPrefsClass;
struct _ESignature;
struct _EMComposerPrefs {
GtkVBox parent;
GtkBox parent;
GtkBuilder *builder;
@ -73,7 +73,7 @@ struct _EMComposerPrefs {
};
struct _EMComposerPrefsClass {
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
};
GType em_composer_prefs_get_type (void);

View File

@ -53,7 +53,7 @@ typedef struct _EMMailerPrefs EMMailerPrefs;
typedef struct _EMMailerPrefsClass EMMailerPrefsClass;
struct _EMMailerPrefs {
GtkVBox parent_object;
GtkBox parent_object;
GtkBuilder *builder;
GSettings *settings;
@ -102,7 +102,7 @@ struct _EMMailerPrefs {
};
struct _EMMailerPrefsClass {
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
};
GType em_mailer_prefs_get_type (void);

View File

@ -58,7 +58,7 @@ typedef enum {
} NetworkConfigProxyType;
struct _EMNetworkPrefs {
GtkVBox parent_object;
GtkBox parent_object;
GSettings *proxy_settings;
@ -93,7 +93,7 @@ struct _EMNetworkPrefs {
};
struct _EMNetworkPrefsClass {
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
};
GType em_network_prefs_get_type (void);

View File

@ -59,12 +59,12 @@ typedef struct _EShellTaskbarPrivate EShellTaskbarPrivate;
* functions below.
**/
struct _EShellTaskbar {
GtkHBox parent;
GtkBox parent;
EShellTaskbarPrivate *priv;
};
struct _EShellTaskbarClass {
GtkHBoxClass parent_class;
GtkBoxClass parent_class;
};
GType e_shell_taskbar_get_type (void);

View File

@ -292,7 +292,7 @@ alert_bar_constructed (GObject *object)
static GtkSizeRequestMode
alert_bar_get_request_mode (GtkWidget *widget)
{
/* GtkHBox does width-for-height by default. But we
/* GtkBox does width-for-height by default. But we
* want the alert bar to be as short as possible. */
return GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH;
}

View File

@ -51,12 +51,12 @@ typedef struct _EAttachmentBarClass EAttachmentBarClass;
typedef struct _EAttachmentBarPrivate EAttachmentBarPrivate;
struct _EAttachmentBar {
GtkVBox parent;
GtkBox parent;
EAttachmentBarPrivate *priv;
};
struct _EAttachmentBarClass {
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
};
GType e_attachment_bar_get_type (void);

View File

@ -52,12 +52,12 @@ typedef struct _EAttachmentButtonClass EAttachmentButtonClass;
typedef struct _EAttachmentButtonPrivate EAttachmentButtonPrivate;
struct _EAttachmentButton {
GtkHBox parent;
GtkBox parent;
EAttachmentButtonPrivate *priv;
};
struct _EAttachmentButtonClass {
GtkHBoxClass parent_class;
GtkBoxClass parent_class;
};
GType e_attachment_button_get_type (void);

View File

@ -76,12 +76,12 @@ typedef struct tm (*EDateEditGetTimeCallback)
gpointer data);
struct _EDateEdit {
GtkHBox hbox;
GtkBox hbox;
EDateEditPrivate *priv;
};
struct _EDateEditClass {
GtkHBoxClass parent_class;
GtkBoxClass parent_class;
/* Signals */
void (*changed) (EDateEdit *dedit);

View File

@ -50,12 +50,12 @@ typedef struct _EImageChooserClass EImageChooserClass;
typedef struct _EImageChooserPrivate EImageChooserPrivate;
struct _EImageChooser {
GtkVBox parent;
GtkBox parent;
EImageChooserPrivate *priv;
};
struct _EImageChooserClass {
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
/* signals */
void (*changed) (EImageChooser *chooser);

View File

@ -52,12 +52,12 @@ typedef struct _EPreviewPaneClass EPreviewPaneClass;
typedef struct _EPreviewPanePrivate EPreviewPanePrivate;
struct _EPreviewPane {
GtkVBox parent;
GtkBox parent;
EPreviewPanePrivate *priv;
};
struct _EPreviewPaneClass {
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
/* Signals */
void (*show_search_bar) (EPreviewPane *preview_pane);

View File

@ -51,12 +51,12 @@ typedef struct _ESearchBarClass ESearchBarClass;
typedef struct _ESearchBarPrivate ESearchBarPrivate;
struct _ESearchBar {
GtkHBox parent;
GtkBox parent;
ESearchBarPrivate *priv;
};
struct _ESearchBarClass {
GtkHBoxClass parent_class;
GtkBoxClass parent_class;
/* Signals */
void (*changed) (ESearchBar *search_bar);

View File

@ -38,13 +38,13 @@ typedef struct _EUrlEntryPrivate EUrlEntryPrivate;
typedef struct _EUrlEntryClass EUrlEntryClass;
struct _EUrlEntry {
GtkHBox parent;
GtkBox parent;
EUrlEntryPrivate *priv;
};
struct _EUrlEntryClass {
GtkHBoxClass parent_class;
GtkBoxClass parent_class;
};
GType e_url_entry_get_type (void);

View File

@ -53,7 +53,7 @@ typedef struct _ETableFieldChooser ETableFieldChooser;
typedef struct _ETableFieldChooserClass ETableFieldChooserClass;
struct _ETableFieldChooser {
GtkVBox parent;
GtkBox parent;
/* item specific fields */
GnomeCanvas *canvas;
@ -68,7 +68,7 @@ struct _ETableFieldChooser {
};
struct _ETableFieldChooserClass {
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
};
GType e_table_field_chooser_get_type (void) G_GNUC_CONST;