[gnome-commander/gcmd-1-3] 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/gcmd-1-3] Added g_return_if_fail(GNOME_CMD_IS_FILE_SELECTOR(fs)) assert
- Date: Wed, 15 Jul 2009 17:36:32 +0000 (UTC)
commit f92edb4d6ed9690255a1631a61f0cbc27e7246a4
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 8ab3fbe..91bbf5b 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]