diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-20 07:42:33 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-20 08:08:01 +0800 |
commit | 8e2902eefc466c662bd7bef0533de05db0897c49 (patch) | |
tree | 60390d16d242307e7dfc3310149e23acf1f225bf /shell | |
parent | 88c48563537f3e7777193ff9ba5d9418f0038390 (diff) | |
download | gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.gz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.bz2 gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.lz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.xz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.zst gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.zip |
Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.
Clean up resulting deprecation warnings, which were all related to
GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-sidebar.c | 2 | ||||
-rw-r--r-- | shell/e-shell-taskbar.c | 2 | ||||
-rw-r--r-- | shell/e-shell-window-private.c | 2 | ||||
-rw-r--r-- | shell/e-shell-window.c | 8 | ||||
-rw-r--r-- | shell/main.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/shell/e-shell-sidebar.c b/shell/e-shell-sidebar.c index b75cd8d602..0707008119 100644 --- a/shell/e-shell-sidebar.c +++ b/shell/e-shell-sidebar.c @@ -444,7 +444,7 @@ e_shell_sidebar_init (EShellSidebar *shell_sidebar) container = widget; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_container_set_border_width (GTK_CONTAINER (widget), 6); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); diff --git a/shell/e-shell-taskbar.c b/shell/e-shell-taskbar.c index 9a0624ffc8..40a3d639ea 100644 --- a/shell/e-shell-taskbar.c +++ b/shell/e-shell-taskbar.c @@ -398,7 +398,7 @@ e_shell_taskbar_init (EShellTaskbar *shell_taskbar) shell_taskbar->priv->label = g_object_ref (widget); gtk_widget_hide (widget); - widget = gtk_hbox_new (FALSE, 3); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3); gtk_box_pack_start (GTK_BOX (shell_taskbar), widget, TRUE, TRUE, 0); shell_taskbar->priv->hbox = g_object_ref (widget); gtk_widget_hide (widget); diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c index a0404f9915..6bea8686b9 100644 --- a/shell/e-shell-window-private.c +++ b/shell/e-shell-window-private.c @@ -289,7 +289,7 @@ e_shell_window_private_constructed (EShellWindow *shell_window) /* Construct window widgets. */ - widget = gtk_vbox_new (FALSE, 0); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_container_add (GTK_CONTAINER (shell_window), widget); gtk_widget_show (widget); diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index 3e9be0f845..e3f383ed11 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -422,7 +422,7 @@ shell_window_construct_menubar (EShellWindow *shell_window) parent = gtk_widget_get_parent (main_menu); g_object_ref (parent); gtk_container_remove ((GtkContainer *) parent, main_menu); - child = gtk_hbox_new (FALSE, 0); + child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start ((GtkBox *) child, main_menu, TRUE, TRUE, 0); gtk_widget_show (child); gtk_container_add ((GtkContainer *) parent, child); @@ -462,7 +462,7 @@ shell_window_construct_toolbar (EShellWindow *shell_window) shell = e_shell_window_get_shell (shell_window); ui_manager = e_shell_window_get_ui_manager (shell_window); - box = gtk_hbox_new (FALSE, 0); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_show (box); g_object_bind_property ( @@ -573,7 +573,7 @@ shell_window_construct_content (EShellWindow *shell_window) GtkWidget *box; GtkWidget *widget; - box = gtk_vbox_new (FALSE, 0); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_widget_show (box); widget = e_alert_bar_new (); @@ -607,7 +607,7 @@ shell_window_construct_taskbar (EShellWindow *shell_window) shell = e_shell_window_get_shell (shell_window); - status_area = gtk_hbox_new (FALSE, 3); + status_area = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3); gtk_container_set_border_width (GTK_CONTAINER (status_area), 3); g_object_bind_property ( diff --git a/shell/main.c b/shell/main.c index 302d1a1752..bd7997a3f7 100644 --- a/shell/main.c +++ b/shell/main.c @@ -172,7 +172,7 @@ show_development_warning (void) gtk_container_set_border_width (GTK_CONTAINER (action_area), 12); gtk_container_set_border_width (GTK_CONTAINER (content_area), 0); - vbox = gtk_vbox_new (FALSE, 12); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_container_set_border_width (GTK_CONTAINER (vbox), 12); gtk_box_pack_start (GTK_BOX (content_area), vbox, TRUE, TRUE, 0); |