[gnome-commander] Build fix



commit 3e0656b5559e74cb6ef690dde9bf99d33fd2ed40
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Sep 15 22:44:22 2011 +0200

    Build fix

 src/dialogs/gnome-cmd-remote-dialog.cc |    2 +-
 src/dialogs/gnome-cmd-remote-dialog.h  |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-remote-dialog.cc b/src/dialogs/gnome-cmd-remote-dialog.cc
index 0c5da9e..a430cb6 100644
--- a/src/dialogs/gnome-cmd-remote-dialog.cc
+++ b/src/dialogs/gnome-cmd-remote-dialog.cc
@@ -137,7 +137,7 @@ inline void GnomeCmdRemoteDialog::do_connect(GnomeCmdConFtp *server)
     const gchar *anon_pw = gtk_entry_get_text (GTK_ENTRY (priv->anonymous_pw_entry));
     gnome_cmd_data_set_ftp_anonymous_password (anon_pw);
 
-    gtk_widget_destroy (*ftp_dialog);
+    gtk_widget_destroy (*this);
 
     g_timeout_add (1, (GtkFunction) do_connect_real, server);
 }
diff --git a/src/dialogs/gnome-cmd-remote-dialog.h b/src/dialogs/gnome-cmd-remote-dialog.h
index 67f81bc..66ac7a4 100644
--- a/src/dialogs/gnome-cmd-remote-dialog.h
+++ b/src/dialogs/gnome-cmd-remote-dialog.h
@@ -27,6 +27,7 @@
 #define GNOME_CMD_IS_REMOTE_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_CMD_TYPE_REMOTE_DIALOG))
 #define GNOME_CMD_REMOTE_DIALOG_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CMD_TYPE_REMOTE_DIALOG, GnomeCmdRemoteDialogClass))
 
+#include "gnome-cmd-data.h"
 
 struct GnomeCmdRemoteDialog
 {



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