[libgda] Warning correction



commit 10544717cb993eb51b8fe694124fc6d57b5d21e0
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun May 22 17:48:00 2011 +0200

    Warning correction

 libgda-ui/gdaui-raw-grid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index 419ba5e..7a0a2a0 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -1653,9 +1653,9 @@ action_filter_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 
 	/* move the filter window to a correct location */
 	/* FIXME: let the user specify the position function like GtkTreeView -> search_position_func() */
+	gtk_widget_show (grid->priv->filter_window);
 	gtk_grab_add (grid->priv->filter_window);
 	filter_position_func (GTK_WIDGET (grid), grid->priv->filter_window, NULL);
-	gtk_widget_show (grid->priv->filter_window);
 	popup_grab_on_window (gtk_widget_get_window (grid->priv->filter_window),
 			      gtk_get_current_event_time ());	
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]