[gimp] app: s/GTK_IS_VBOX/GTK_IS_BOX/ to simplify the gtk3-port branch
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: s/GTK_IS_VBOX/GTK_IS_BOX/ to simplify the gtk3-port branch
- Date: Wed, 27 Jul 2011 18:22:47 +0000 (UTC)
commit 97c5a2817d7e47164da8619d9943e6c10e2a7677
Author: Michael Natterer <mitch gimp org>
Date: Wed Jul 27 20:21:58 2011 +0200
app: s/GTK_IS_VBOX/GTK_IS_BOX/ to simplify the gtk3-port branch
app/dialogs/about-dialog.c | 4 ++--
app/widgets/gimpwidgets-utils.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/app/dialogs/about-dialog.c b/app/dialogs/about-dialog.c
index 42d9738..ce07c85 100644
--- a/app/dialogs/about-dialog.c
+++ b/app/dialogs/about-dialog.c
@@ -152,13 +152,13 @@ about_dialog_create (GimpContext *context)
container = gtk_dialog_get_content_area (GTK_DIALOG (widget));
children = gtk_container_get_children (GTK_CONTAINER (container));
- if (GTK_IS_VBOX (children->data))
+ if (GTK_IS_BOX (children->data))
{
about_dialog_add_animation (children->data, dialog);
about_dialog_add_message (children->data);
}
else
- g_warning ("%s: ooops, no vbox in this container?", G_STRLOC);
+ g_warning ("%s: ooops, no box in this container?", G_STRLOC);
g_list_free (children);
}
diff --git a/app/widgets/gimpwidgets-utils.c b/app/widgets/gimpwidgets-utils.c
index 10c92c9..e1bcd2d 100644
--- a/app/widgets/gimpwidgets-utils.c
+++ b/app/widgets/gimpwidgets-utils.c
@@ -351,16 +351,16 @@ gimp_enum_radio_frame_add (GtkFrame *frame,
gint enum_value,
gboolean below)
{
- GtkWidget *vbox;
+ GtkWidget *box;
g_return_if_fail (GTK_IS_FRAME (frame));
g_return_if_fail (GTK_IS_WIDGET (widget));
- vbox = gtk_bin_get_child (GTK_BIN (frame));
+ box = gtk_bin_get_child (GTK_BIN (frame));
- g_return_if_fail (GTK_IS_VBOX (vbox));
+ g_return_if_fail (GTK_IS_BOX (box));
- gimp_enum_radio_box_add (GTK_BOX (vbox), widget, enum_value, below);
+ gimp_enum_radio_box_add (GTK_BOX (box), widget, enum_value, below);
}
GtkIconSize
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]