fix compile warning. (#122727, patch from Kjartan Maraas).

Wed Dec 17 23:16:45 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
	(#122727, patch from Kjartan Maraas).
This commit is contained in:
Kristian Rietveld 2003-12-17 22:18:43 +00:00 committed by Kristian Rietveld
parent f219093fd2
commit d1f4899fc7
6 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
(#122727, patch from Kjartan Maraas).
Wed Dec 17 21:23:01 2003 Kristian Rietveld <kris@gtk.org>
Yay! Fixed height mode! Hooray! (Part 2 of #80868).

View File

@ -1,3 +1,8 @@
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
(#122727, patch from Kjartan Maraas).
Wed Dec 17 21:23:01 2003 Kristian Rietveld <kris@gtk.org>
Yay! Fixed height mode! Hooray! (Part 2 of #80868).

View File

@ -1,3 +1,8 @@
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
(#122727, patch from Kjartan Maraas).
Wed Dec 17 21:23:01 2003 Kristian Rietveld <kris@gtk.org>
Yay! Fixed height mode! Hooray! (Part 2 of #80868).

View File

@ -1,3 +1,8 @@
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
(#122727, patch from Kjartan Maraas).
Wed Dec 17 21:23:01 2003 Kristian Rietveld <kris@gtk.org>
Yay! Fixed height mode! Hooray! (Part 2 of #80868).

View File

@ -1,3 +1,8 @@
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
(#122727, patch from Kjartan Maraas).
Wed Dec 17 21:23:01 2003 Kristian Rietveld <kris@gtk.org>
Yay! Fixed height mode! Hooray! (Part 2 of #80868).

View File

@ -2214,7 +2214,7 @@ gtk_tree_view_button_press (GtkWidget *widget,
/* Save press to possibly begin a drag
*/
grab_widget = gtk_grab_get_current ();
if ((grab_widget == NULL || grab_widget == GTK_WIDGET (tree_view)) &&
if ((grab_widget == NULL || grab_widget == widget) &&
!column_handled_click &&
tree_view->priv->pressed_button < 0)
{