[epiphany-extensions] soup-fly: Do not use deprecated gtk_[hv]box_new()
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany-extensions] soup-fly: Do not use deprecated gtk_[hv]box_new()
- Date: Fri, 12 Aug 2011 08:48:36 +0000 (UTC)
commit 76822419b2623bf8b253c1e5a4766b924ba318c0
Author: Vincent Untz <vuntz gnome org>
Date: Fri Aug 12 10:48:15 2011 +0200
soup-fly: Do not use deprecated gtk_[hv]box_new()
https://bugzilla.gnome.org/show_bug.cgi?id=654138
extensions/soup-fly/soup-fly.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/soup-fly/soup-fly.c b/extensions/soup-fly/soup-fly.c
index e5d239c..40efc36 100644
--- a/extensions/soup-fly/soup-fly.c
+++ b/extensions/soup-fly/soup-fly.c
@@ -216,7 +216,7 @@ construct_ui (SoupFly *logger)
GTK_POLICY_AUTOMATIC);
gtk_container_add (GTK_CONTAINER (scrolled), treeview);
- hbox = gtk_hbox_new (FALSE, 10);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
button = gtk_button_new_with_label (_("Clear finished"));
g_signal_connect (button, "clicked", G_CALLBACK (clear_button_clicked_cb), logger);
gtk_container_add (GTK_CONTAINER (hbox), button);
@@ -226,7 +226,7 @@ construct_ui (SoupFly *logger)
g_signal_connect (check_button, "toggled", G_CALLBACK (check_button_toggled_cb), logger);
gtk_container_add (GTK_CONTAINER (hbox), check_button);
- vbox = gtk_vbox_new (FALSE, 10);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
gtk_box_pack_start (GTK_BOX (vbox), scrolled, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]