summaryrefslogtreecommitdiff
path: root/gtk/gtkfixed.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-02-07 15:50:39 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-02-07 15:50:39 +0000
commitd95069aa1f486cda06b0e78d1d67f857d7ef1b59 (patch)
tree4bbc8e03be19c6f0f62bbbc6aad0b319fec9ecb7 /gtk/gtkfixed.c
parent7f8fdbba9f9698f09f60ada898ce124b75bb9220 (diff)
downloadgtk+-d95069aa1f486cda06b0e78d1d67f857d7ef1b59.tar.gz
gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.c
2008-02-07 Michael Natterer <mitch@imendio.com> * gtk/gtkaction.c * gtk/gtkassistant.c * gtk/gtkbin.c * gtk/gtkbox.c * gtk/gtkcalendar.c * gtk/gtkcellrenderercombo.c * gtk/gtkcombobox.c * gtk/gtkcombo.c * gtk/gtkdrawingarea.c * gtk/gtkentrycompletion.c * gtk/gtkfixed.h * gtk/gtkgamma.c * gtk/gtkhpaned.c * gtk/gtkiconview.c * gtk/gtkitem.c * gtk/gtkitemfactory.c: remove g_return_if_fail() from private functions and virtual function implementations. svn path=/trunk/; revision=19491
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r--gtk/gtkfixed.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c
index beaac5c511..dffd615676 100644
--- a/gtk/gtkfixed.c
+++ b/gtk/gtkfixed.c
@@ -436,14 +436,10 @@ gtk_fixed_forall (GtkContainer *container,
GtkCallback callback,
gpointer callback_data)
{
- GtkFixed *fixed;
+ GtkFixed *fixed = GTK_FIXED (container);
GtkFixedChild *child;
GList *children;
- g_return_if_fail (callback != NULL);
-
- fixed = GTK_FIXED (container);
-
children = fixed->children;
while (children)
{