[gnome-commander] Added g_return_if_fail(GNOME_CMD_IS_FILE_SELECTOR(fs)) assert
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander] Added g_return_if_fail(GNOME_CMD_IS_FILE_SELECTOR(fs)) assert
- Date: Wed, 15 Jul 2009 17:37:07 +0000 (UTC)
commit 5d75c2680460bb380945f8e386c3953380f71eb1
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Wed Jul 15 19:26:16 2009 +0200
Added g_return_if_fail(GNOME_CMD_IS_FILE_SELECTOR(fs)) assert
src/gnome-cmd-file-selector.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 2cd47e7..b961434 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -1490,6 +1490,8 @@ static void on_con_open_failed (GnomeCmdCon *con, const gchar *msg, GnomeVFSResu
static void create_con_open_progress_dialog (GnomeCmdFileSelector *fs)
{
+ g_return_if_fail (GNOME_CMD_IS_FILE_SELECTOR (fs));
+
fs->priv->con_open_dialog = gnome_cmd_dialog_new (NULL);
gtk_widget_ref (fs->priv->con_open_dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]