mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
only unref those handlers that have not yet been disconnected (finally
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org> * gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those handlers that have not yet been disconnected (finally managed to trigger the gtk_signal_handler_unref() paranoid warning). Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y, width and height which is -1 and not -2.
This commit is contained in:
parent
3e4c74d7ef
commit
128cb63dcc
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
handlers that have not yet been disconnected (finally managed to
|
||||
trigger the gtk_signal_handler_unref() paranoid warning).
|
||||
|
||||
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
|
||||
width and height which is -1 and not -2.
|
||||
|
||||
Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* HACKING
|
||||
|
@ -1,3 +1,14 @@
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
handlers that have not yet been disconnected (finally managed to
|
||||
trigger the gtk_signal_handler_unref() paranoid warning).
|
||||
|
||||
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
|
||||
width and height which is -1 and not -2.
|
||||
|
||||
Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* HACKING
|
||||
|
@ -1,3 +1,14 @@
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
handlers that have not yet been disconnected (finally managed to
|
||||
trigger the gtk_signal_handler_unref() paranoid warning).
|
||||
|
||||
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
|
||||
width and height which is -1 and not -2.
|
||||
|
||||
Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* HACKING
|
||||
|
@ -1,3 +1,14 @@
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
handlers that have not yet been disconnected (finally managed to
|
||||
trigger the gtk_signal_handler_unref() paranoid warning).
|
||||
|
||||
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
|
||||
width and height which is -1 and not -2.
|
||||
|
||||
Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* HACKING
|
||||
|
@ -1,3 +1,14 @@
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
handlers that have not yet been disconnected (finally managed to
|
||||
trigger the gtk_signal_handler_unref() paranoid warning).
|
||||
|
||||
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
|
||||
width and height which is -1 and not -2.
|
||||
|
||||
Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* HACKING
|
||||
|
@ -1,3 +1,14 @@
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
handlers that have not yet been disconnected (finally managed to
|
||||
trigger the gtk_signal_handler_unref() paranoid warning).
|
||||
|
||||
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
|
||||
width and height which is -1 and not -2.
|
||||
|
||||
Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* HACKING
|
||||
|
@ -1,3 +1,14 @@
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
handlers that have not yet been disconnected (finally managed to
|
||||
trigger the gtk_signal_handler_unref() paranoid warning).
|
||||
|
||||
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
|
||||
width and height which is -1 and not -2.
|
||||
|
||||
Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* HACKING
|
||||
|
@ -1151,11 +1151,13 @@ gtk_signal_handlers_destroy (GtkObject *object)
|
||||
GtkHandler *next;
|
||||
|
||||
next = handler->next;
|
||||
gtk_signal_handler_unref (handler, object);
|
||||
if (handler->id > 0)
|
||||
gtk_signal_handler_unref (handler, object);
|
||||
handler = next;
|
||||
}
|
||||
handler = gtk_object_get_data_by_id (object, handler_quark);
|
||||
gtk_signal_handler_unref (handler, object);
|
||||
if (handler->id > 0)
|
||||
gtk_signal_handler_unref (handler, object);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -839,28 +839,28 @@ gtk_widget_get_arg (GtkObject *object,
|
||||
case ARG_X:
|
||||
aux_info = gtk_object_get_data_by_id (GTK_OBJECT (widget), aux_info_key_id);
|
||||
if (!aux_info)
|
||||
GTK_VALUE_INT (*arg) = -2;
|
||||
GTK_VALUE_INT (*arg) = -1;
|
||||
else
|
||||
GTK_VALUE_INT (*arg) = aux_info->x;
|
||||
break;
|
||||
case ARG_Y:
|
||||
aux_info = gtk_object_get_data_by_id (GTK_OBJECT (widget), aux_info_key_id);
|
||||
if (!aux_info)
|
||||
GTK_VALUE_INT (*arg) = -2;
|
||||
GTK_VALUE_INT (*arg) = -1;
|
||||
else
|
||||
GTK_VALUE_INT (*arg) = aux_info->y;
|
||||
break;
|
||||
case ARG_WIDTH:
|
||||
aux_info = gtk_object_get_data_by_id (GTK_OBJECT (widget), aux_info_key_id);
|
||||
if (!aux_info)
|
||||
GTK_VALUE_INT (*arg) = -2;
|
||||
GTK_VALUE_INT (*arg) = -1;
|
||||
else
|
||||
GTK_VALUE_INT (*arg) = aux_info->width;
|
||||
break;
|
||||
case ARG_HEIGHT:
|
||||
aux_info = gtk_object_get_data_by_id (GTK_OBJECT (widget), aux_info_key_id);
|
||||
if (!aux_info)
|
||||
GTK_VALUE_INT (*arg) = -2;
|
||||
GTK_VALUE_INT (*arg) = -1;
|
||||
else
|
||||
GTK_VALUE_INT (*arg) = aux_info->height;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user