[libepc/gtk4: 6/13] libepc-ui: Replace deprecated gtk_vbox_new().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libepc/gtk4: 6/13] libepc-ui: Replace deprecated gtk_vbox_new().
- Date: Fri, 18 Nov 2016 08:54:14 +0000 (UTC)
commit 16221f9dba384d8502432c45b689cf781cff2be7
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Nov 18 08:55:45 2016 +0100
libepc-ui: Replace deprecated gtk_vbox_new().
examples/consumer-ui.c | 2 +-
libepc-ui/progress-window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/consumer-ui.c b/examples/consumer-ui.c
index 6ff2bdb..f8f53cb 100644
--- a/examples/consumer-ui.c
+++ b/examples/consumer-ui.c
@@ -155,7 +155,7 @@ create_lookup_dialog (EpcConsumer *consumer,
/* Attach the widgets to some vertical box. */
- vbox = gtk_vbox_new (FALSE, 6);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (vbox), keys_combo, FALSE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (vbox), scroller, TRUE, TRUE, 0);
diff --git a/libepc-ui/progress-window.c b/libepc-ui/progress-window.c
index 0192c7e..d8c228d 100644
--- a/libepc-ui/progress-window.c
+++ b/libepc-ui/progress-window.c
@@ -95,7 +95,7 @@ epc_progress_window_init (EpcProgressWindow *self)
gtk_widget_set_halign (self->priv->message, 0.5);
gtk_widget_set_valign (self->priv->message, 0.5);
- vbox = gtk_vbox_new (FALSE, 6);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (vbox), self->priv->title, FALSE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (vbox), self->priv->progress, FALSE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (vbox), self->priv->message, FALSE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]