[gnome-commander] search: faster access to class member 'pbar'



commit ca8094301171ba583ce8982179ebc42fb6e06338
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu May 26 20:24:42 2011 +0200

    search: faster access to class member 'pbar'

 src/dialogs/gnome-cmd-search-dialog.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index 7e16bb1..6d5dd47 100755
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -836,7 +836,7 @@ static void on_search (GtkButton *button, GnomeCmdSearchDialog *dialog)
     if (gnome_cmd_con_is_local (data->con) ? start_local_search (data) : start_generic_search (data))
     {
         set_statusmsg (data);
-        gtk_widget_show (data->dialog->priv->pbar);
+        gtk_widget_show (dialog->priv->pbar);
         data->update_gui_timeout_id = g_timeout_add (gnome_cmd_data.gui_update_rate, (GSourceFunc) update_search_status_widgets, data);
 
         gtk_widget_set_sensitive (dialog->priv->goto_button, FALSE);



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