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



commit cd27672f61855eb5f5a522bbc3971caabe169d42
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Tue Nov 6 18:33:37 2012 +0100

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

 calendar/gui/e-timezone-entry.h           |    4 ++--
 e-util/e-config.c                         |    2 +-
 e-util/e-config.h                         |    4 ++--
 mail/e-mail-view.h                        |    4 ++--
 modules/calendar/e-calendar-preferences.h |    4 ++--
 modules/mail/em-composer-prefs.h          |    4 ++--
 modules/mail/em-mailer-prefs.h            |    4 ++--
 modules/mail/em-network-prefs.h           |    4 ++--
 shell/e-shell-taskbar.h                   |    4 ++--
 widgets/misc/e-alert-bar.c                |    2 +-
 widgets/misc/e-attachment-bar.h           |    4 ++--
 widgets/misc/e-attachment-button.h        |    4 ++--
 widgets/misc/e-dateedit.h                 |    4 ++--
 widgets/misc/e-image-chooser.h            |    4 ++--
 widgets/misc/e-preview-pane.h             |    4 ++--
 widgets/misc/e-search-bar.h               |    4 ++--
 widgets/misc/e-url-entry.h                |    4 ++--
 widgets/table/e-table-field-chooser.h     |    4 ++--
 18 files changed, 34 insertions(+), 34 deletions(-)
---
diff --git a/calendar/gui/e-timezone-entry.h b/calendar/gui/e-timezone-entry.h
index ad95ada..c93216f 100644
--- a/calendar/gui/e-timezone-entry.h
+++ b/calendar/gui/e-timezone-entry.h
@@ -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);
 };
diff --git a/e-util/e-config.c b/e-util/e-config.c
index 2baadca..7a5aff0 100644
--- a/e-util/e-config.c
+++ b/e-util/e-config.c
@@ -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,
diff --git a/e-util/e-config.h b/e-util/e-config.h
index 6f009b7..2922a25 100644
--- a/e-util/e-config.h
+++ b/e-util/e-config.h
@@ -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
diff --git a/mail/e-mail-view.h b/mail/e-mail-view.h
index af3f6c4..98072ae 100644
--- a/mail/e-mail-view.h
+++ b/mail/e-mail-view.h
@@ -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);
diff --git a/modules/calendar/e-calendar-preferences.h b/modules/calendar/e-calendar-preferences.h
index a9809f2..e7b9543 100644
--- a/modules/calendar/e-calendar-preferences.h
+++ b/modules/calendar/e-calendar-preferences.h
@@ -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);
diff --git a/modules/mail/em-composer-prefs.h b/modules/mail/em-composer-prefs.h
index 79a53bb..945e2d7 100644
--- a/modules/mail/em-composer-prefs.h
+++ b/modules/mail/em-composer-prefs.h
@@ -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);
diff --git a/modules/mail/em-mailer-prefs.h b/modules/mail/em-mailer-prefs.h
index 4466e16..8e66476 100644
--- a/modules/mail/em-mailer-prefs.h
+++ b/modules/mail/em-mailer-prefs.h
@@ -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);
diff --git a/modules/mail/em-network-prefs.h b/modules/mail/em-network-prefs.h
index 6d0cd5c..8d67530 100644
--- a/modules/mail/em-network-prefs.h
+++ b/modules/mail/em-network-prefs.h
@@ -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);
diff --git a/shell/e-shell-taskbar.h b/shell/e-shell-taskbar.h
index e01ec40..8bcbecd 100644
--- a/shell/e-shell-taskbar.h
+++ b/shell/e-shell-taskbar.h
@@ -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);
diff --git a/widgets/misc/e-alert-bar.c b/widgets/misc/e-alert-bar.c
index eb4afdd..7700ef5 100644
--- a/widgets/misc/e-alert-bar.c
+++ b/widgets/misc/e-alert-bar.c
@@ -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;
 }
diff --git a/widgets/misc/e-attachment-bar.h b/widgets/misc/e-attachment-bar.h
index 9f40973..3542f21 100644
--- a/widgets/misc/e-attachment-bar.h
+++ b/widgets/misc/e-attachment-bar.h
@@ -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);
diff --git a/widgets/misc/e-attachment-button.h b/widgets/misc/e-attachment-button.h
index b8a0cbb..56adf70 100644
--- a/widgets/misc/e-attachment-button.h
+++ b/widgets/misc/e-attachment-button.h
@@ -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);
diff --git a/widgets/misc/e-dateedit.h b/widgets/misc/e-dateedit.h
index 7898c49..7da72ec 100644
--- a/widgets/misc/e-dateedit.h
+++ b/widgets/misc/e-dateedit.h
@@ -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);
diff --git a/widgets/misc/e-image-chooser.h b/widgets/misc/e-image-chooser.h
index 3338e16..cf983c6 100644
--- a/widgets/misc/e-image-chooser.h
+++ b/widgets/misc/e-image-chooser.h
@@ -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);
diff --git a/widgets/misc/e-preview-pane.h b/widgets/misc/e-preview-pane.h
index 1313193..01e216c 100644
--- a/widgets/misc/e-preview-pane.h
+++ b/widgets/misc/e-preview-pane.h
@@ -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);
diff --git a/widgets/misc/e-search-bar.h b/widgets/misc/e-search-bar.h
index 4df8c97..939a476 100644
--- a/widgets/misc/e-search-bar.h
+++ b/widgets/misc/e-search-bar.h
@@ -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);
diff --git a/widgets/misc/e-url-entry.h b/widgets/misc/e-url-entry.h
index 119fe47..2393f82 100644
--- a/widgets/misc/e-url-entry.h
+++ b/widgets/misc/e-url-entry.h
@@ -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);
diff --git a/widgets/table/e-table-field-chooser.h b/widgets/table/e-table-field-chooser.h
index 743bf9e..a594fa2 100644
--- a/widgets/table/e-table-field-chooser.h
+++ b/widgets/table/e-table-field-chooser.h
@@ -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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]