-/* GTK - The GIMP Toolkit
+/* GTK - The GTK+ Toolkit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include <config.h>
+#include "config.h"
#include "gtkfixed.h"
#include "gtkprivate.h"
#include "gtkintl.h"
GValue *value,
GParamSpec *pspec);
-G_DEFINE_TYPE (GtkFixed, gtk_fixed, GTK_TYPE_CONTAINER);
+G_DEFINE_TYPE (GtkFixed, gtk_fixed, GTK_TYPE_CONTAINER)
static void
gtk_fixed_class_init (GtkFixedClass *class)
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)
{
* @fixed: a #GtkWidget
*
* Gets whether the #GtkFixed has its own #GdkWindow.
- * See gdk_fixed_set_has_window().
+ * See gtk_fixed_set_has_window().
*
* Return value: %TRUE if @fixed has its own window.
**/