forked from AuroraMiddleware/gtk
Free the path after calling gtk_tree_view_row_activated() rather than
2002-03-26 Dave Camp <dave@ximian.com> * gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path after calling gtk_tree_view_row_activated() rather than before.
This commit is contained in:
parent
a09137d77a
commit
e62f9fb020
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-26 Dave Camp <dave@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
|
||||||
|
after calling gtk_tree_view_row_activated() rather than before.
|
||||||
|
|
||||||
2002-03-25 Sven Neumann <sven@gimp.org>
|
2002-03-25 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-26 Dave Camp <dave@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
|
||||||
|
after calling gtk_tree_view_row_activated() rather than before.
|
||||||
|
|
||||||
2002-03-25 Sven Neumann <sven@gimp.org>
|
2002-03-25 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-26 Dave Camp <dave@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
|
||||||
|
after calling gtk_tree_view_row_activated() rather than before.
|
||||||
|
|
||||||
2002-03-25 Sven Neumann <sven@gimp.org>
|
2002-03-25 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-26 Dave Camp <dave@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
|
||||||
|
after calling gtk_tree_view_row_activated() rather than before.
|
||||||
|
|
||||||
2002-03-25 Sven Neumann <sven@gimp.org>
|
2002-03-25 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-26 Dave Camp <dave@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
|
||||||
|
after calling gtk_tree_view_row_activated() rather than before.
|
||||||
|
|
||||||
2002-03-25 Sven Neumann <sven@gimp.org>
|
2002-03-25 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-26 Dave Camp <dave@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
|
||||||
|
after calling gtk_tree_view_row_activated() rather than before.
|
||||||
|
|
||||||
2002-03-25 Sven Neumann <sven@gimp.org>
|
2002-03-25 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
* gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
|
||||||
|
@ -1905,13 +1905,15 @@ gtk_tree_view_button_press (GtkWidget *widget,
|
|||||||
}
|
}
|
||||||
|
|
||||||
GTK_TREE_VIEW_UNSET_FLAG (tree_view, GTK_TREE_VIEW_DRAW_KEYFOCUS);
|
GTK_TREE_VIEW_UNSET_FLAG (tree_view, GTK_TREE_VIEW_DRAW_KEYFOCUS);
|
||||||
gtk_tree_path_free (path);
|
|
||||||
|
|
||||||
if (emit_row_activated)
|
if (emit_row_activated)
|
||||||
{
|
{
|
||||||
gtk_grab_remove (widget);
|
gtk_grab_remove (widget);
|
||||||
gtk_tree_view_row_activated (tree_view, path, column);
|
gtk_tree_view_row_activated (tree_view, path, column);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gtk_tree_path_free (path);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user