* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.
+Sat Feb 21 15:33:20 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkwidget.h:
+ * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to
+ GtkWidget::parent_set. since it's purpose is pure notification,
+ it should have been named this way in the first place.
+
Sat Feb 21 12:06:11 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* gtk/gtkentry.c (gtk_entry_set_text): Added a test for passing a
* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.
+Sat Feb 21 15:33:20 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkwidget.h:
+ * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to
+ GtkWidget::parent_set. since it's purpose is pure notification,
+ it should have been named this way in the first place.
+
Sat Feb 21 12:06:11 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* gtk/gtkentry.c (gtk_entry_set_text): Added a test for passing a
* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.
+Sat Feb 21 15:33:20 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkwidget.h:
+ * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to
+ GtkWidget::parent_set. since it's purpose is pure notification,
+ it should have been named this way in the first place.
+
Sat Feb 21 12:06:11 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* gtk/gtkentry.c (gtk_entry_set_text): Added a test for passing a
* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.
+Sat Feb 21 15:33:20 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkwidget.h:
+ * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to
+ GtkWidget::parent_set. since it's purpose is pure notification,
+ it should have been named this way in the first place.
+
Sat Feb 21 12:06:11 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* gtk/gtkentry.c (gtk_entry_set_text): Added a test for passing a
* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.
+Sat Feb 21 15:33:20 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkwidget.h:
+ * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to
+ GtkWidget::parent_set. since it's purpose is pure notification,
+ it should have been named this way in the first place.
+
Sat Feb 21 12:06:11 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* gtk/gtkentry.c (gtk_entry_set_text): Added a test for passing a
* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.
+Sat Feb 21 15:33:20 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkwidget.h:
+ * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to
+ GtkWidget::parent_set. since it's purpose is pure notification,
+ it should have been named this way in the first place.
+
Sat Feb 21 12:06:11 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* gtk/gtkentry.c (gtk_entry_set_text): Added a test for passing a
* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.
+Sat Feb 21 15:33:20 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkwidget.h:
+ * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to
+ GtkWidget::parent_set. since it's purpose is pure notification,
+ it should have been named this way in the first place.
+
Sat Feb 21 12:06:11 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* gtk/gtkentry.c (gtk_entry_set_text): Added a test for passing a
if ((arg->name[9 + 2 + 6] != ':') || (arg->name[9 + 2 + 7] != ':'))
{
g_warning ("invalid signal argument: \"%s\"\n", arg->name);
+ arg->type = GTK_TYPE_INVALID;
return;
}
gtk_signal_connect (object, arg->name + 9 + 2 + 6 + 2,
if ((arg->name[9 + 2 + 13] != ':') || (arg->name[9 + 2 + 14] != ':'))
{
g_warning ("invalid signal argument: \"%s\"\n", arg->name);
+ arg->type = GTK_TYPE_INVALID;
return;
}
gtk_signal_connect_object (object, arg->name + 9 + 2 + 13 + 2,
SIZE_REQUEST,
SIZE_ALLOCATE,
STATE_CHANGED,
- SET_PARENT,
+ PARENT_SET,
INSTALL_ACCELERATOR,
REMOVE_ACCELERATOR,
EVENT,
gtk_widget_marshal_signal_5,
GTK_TYPE_NONE, 1,
GTK_TYPE_UINT);
- widget_signals[SET_PARENT] =
- gtk_signal_new ("set_parent",
+ widget_signals[PARENT_SET] =
+ gtk_signal_new ("parent_set",
GTK_RUN_FIRST,
object_class->type,
- GTK_SIGNAL_OFFSET (GtkWidgetClass, set_parent),
+ GTK_SIGNAL_OFFSET (GtkWidgetClass, parent_set),
gtk_widget_marshal_signal_6,
GTK_TYPE_NONE, 1,
GTK_TYPE_OBJECT);
klass->size_request = NULL;
klass->size_allocate = gtk_widget_real_size_allocate;
klass->state_changed = NULL;
- klass->set_parent = NULL;
+ klass->parent_set = NULL;
klass->install_accelerator = NULL;
klass->remove_accelerator = NULL;
klass->event = NULL;
old_parent = widget->parent;
widget->parent = NULL;
- gtk_signal_emit (GTK_OBJECT (widget), widget_signals[SET_PARENT], old_parent);
+ gtk_signal_emit (GTK_OBJECT (widget), widget_signals[PARENT_SET], old_parent);
gtk_widget_unref (widget);
}
NULL);
}
- gtk_signal_emit (GTK_OBJECT (widget), widget_signals[SET_PARENT], NULL);
+ gtk_signal_emit (GTK_OBJECT (widget), widget_signals[PARENT_SET], NULL);
}
/*************************************************************
GtkAllocation *allocation);
void (* state_changed) (GtkWidget *widget,
guint previous_state);
- void (* set_parent) (GtkWidget *widget,
+ void (* parent_set) (GtkWidget *widget,
GtkWidget *previous_parent);
/* accelerators */