mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
allocate correct amount for signal and arguments.
2006-01-05 Rodrigo Moya <rodrigo@novell.com> * gtk/gtkbindings.c (binding_signal_new): allocate correct amount for signal and arguments.
This commit is contained in:
parent
8de623acd4
commit
2ffc74793b
@ -1,3 +1,8 @@
|
||||
2006-01-05 Rodrigo Moya <rodrigo@novell.com>
|
||||
|
||||
* gtk/gtkbindings.c (binding_signal_new): allocate correct amount for
|
||||
signal and arguments.
|
||||
|
||||
2006-01-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_grab_focus): Don't return a value from
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-01-05 Rodrigo Moya <rodrigo@novell.com>
|
||||
|
||||
* gtk/gtkbindings.c (binding_signal_new): allocate correct amount for
|
||||
signal and arguments.
|
||||
|
||||
2006-01-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_grab_focus): Don't return a value from
|
||||
|
@ -65,7 +65,7 @@ binding_signal_new (const gchar *signal_name,
|
||||
{
|
||||
GtkBindingSignal *signal;
|
||||
|
||||
signal = (GtkBindingSignal *) g_slice_alloc0 (sizeof (GtkBindingSignal) + n_args * sizeof (GtkBindingArg));
|
||||
signal = (GtkBindingSignal *) g_slice_alloc0 (sizeof (GtkBindingSignal) + n_args * sizeof (GtkBindingArg) - sizeof (GtkBindingArg));
|
||||
signal->next = NULL;
|
||||
signal->signal_name = (gchar *)g_intern_string (signal_name);
|
||||
signal->n_args = n_args;
|
||||
|
Loading…
Reference in New Issue
Block a user