[gtk+] Use boxes instead of vboxes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Use boxes instead of vboxes
- Date: Tue, 7 Jun 2011 22:40:28 +0000 (UTC)
commit cdaaea701746352c3a05fa7b80097216f9eb4a2b
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 7 18:38:28 2011 -0400
Use boxes instead of vboxes
gtk/tests/builder.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/tests/builder.c b/gtk/tests/builder.c
index 6da3279..3abc5b1 100644
--- a/gtk/tests/builder.c
+++ b/gtk/tests/builder.c
@@ -1050,7 +1050,7 @@ test_child_properties (void)
GtkBuilder * builder;
const gchar buffer1[] =
"<interface>"
- " <object class=\"GtkVBox\" id=\"vbox1\">"
+ " <object class=\"GtkBox\" id=\"vbox1\">"
" <child>"
" <object class=\"GtkLabel\" id=\"label1\"/>"
" <packing>"
@@ -1071,7 +1071,7 @@ test_child_properties (void)
builder = builder_new_from_string (buffer1, -1, NULL);
vbox = gtk_builder_get_object (builder, "vbox1");
- g_assert (GTK_IS_VBOX (vbox));
+ g_assert (GTK_IS_BOX (vbox));
label = gtk_builder_get_object (builder, "label1");
g_assert (GTK_IS_LABEL (label));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]