forked from AuroraMiddleware/gtk
Fix memory leak. (Patch from Matthias Clasen, #84926)
Wed Jun 12 15:38:01 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): Fix memory leak. (Patch from Matthias Clasen, #84926) * gtk/gtkrange.c (gtk_range_init): Initialize mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
This commit is contained in:
parent
6f876a292f
commit
a98888390a
@ -1,3 +1,11 @@
|
||||
Wed Jun 12 15:38:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
|
||||
Fix memory leak. (Patch from Matthias Clasen, #84926)
|
||||
|
||||
* gtk/gtkrange.c (gtk_range_init): Initialize
|
||||
mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
|
||||
|
||||
Wed Jun 12 15:08:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow
|
||||
|
@ -1,3 +1,11 @@
|
||||
Wed Jun 12 15:38:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
|
||||
Fix memory leak. (Patch from Matthias Clasen, #84926)
|
||||
|
||||
* gtk/gtkrange.c (gtk_range_init): Initialize
|
||||
mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
|
||||
|
||||
Wed Jun 12 15:08:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow
|
||||
|
@ -1,3 +1,11 @@
|
||||
Wed Jun 12 15:38:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
|
||||
Fix memory leak. (Patch from Matthias Clasen, #84926)
|
||||
|
||||
* gtk/gtkrange.c (gtk_range_init): Initialize
|
||||
mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
|
||||
|
||||
Wed Jun 12 15:08:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow
|
||||
|
@ -1,3 +1,11 @@
|
||||
Wed Jun 12 15:38:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
|
||||
Fix memory leak. (Patch from Matthias Clasen, #84926)
|
||||
|
||||
* gtk/gtkrange.c (gtk_range_init): Initialize
|
||||
mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
|
||||
|
||||
Wed Jun 12 15:08:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow
|
||||
|
@ -1,3 +1,11 @@
|
||||
Wed Jun 12 15:38:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
|
||||
Fix memory leak. (Patch from Matthias Clasen, #84926)
|
||||
|
||||
* gtk/gtkrange.c (gtk_range_init): Initialize
|
||||
mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
|
||||
|
||||
Wed Jun 12 15:08:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow
|
||||
|
@ -1,3 +1,11 @@
|
||||
Wed Jun 12 15:38:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
|
||||
Fix memory leak. (Patch from Matthias Clasen, #84926)
|
||||
|
||||
* gtk/gtkrange.c (gtk_range_init): Initialize
|
||||
mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
|
||||
|
||||
Wed Jun 12 15:08:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow
|
||||
|
@ -499,5 +499,7 @@ gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context,
|
||||
gtk_widget_show (menuitem);
|
||||
gtk_menu_shell_append (menushell, menuitem);
|
||||
}
|
||||
|
||||
g_free (contexts);
|
||||
}
|
||||
|
||||
|
@ -413,6 +413,9 @@ gtk_range_init (GtkRange *range)
|
||||
range->need_recalc = TRUE;
|
||||
range->round_digits = -1;
|
||||
range->layout = g_new0 (GtkRangeLayout, 1);
|
||||
range->layout->mouse_location = MOUSE_OUTSIDE;
|
||||
range->layout->mouse_x = -1;
|
||||
range->layout->mouse_y = -1;
|
||||
range->layout->grab_location = MOUSE_OUTSIDE;
|
||||
range->layout->grab_button = 0;
|
||||
range->timer = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user