gnome-commander r2199 - in trunk: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2199 - in trunk: . src
- Date: Thu, 16 Oct 2008 16:08:37 +0000 (UTC)
Author: epiotr
Date: Thu Oct 16 16:08:36 2008
New Revision: 2199
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2199&view=rev
Log:
Remove surplus assertions
Modified:
trunk/ChangeLog
trunk/src/gnome-cmd-file-selector.cc
Modified: trunk/src/gnome-cmd-file-selector.cc
==============================================================================
--- trunk/src/gnome-cmd-file-selector.cc (original)
+++ trunk/src/gnome-cmd-file-selector.cc Thu Oct 16 16:08:36 2008
@@ -759,7 +759,6 @@
static void on_dir_file_created (GnomeCmdDir *dir, GnomeCmdFile *f, GnomeCmdFileSelector *fs)
{
- g_return_if_fail (GNOME_CMD_IS_DIR (dir));
g_return_if_fail (GNOME_CMD_IS_FILE (f));
g_return_if_fail (GNOME_CMD_IS_FILE_SELECTOR (fs));
@@ -782,7 +781,6 @@
static void on_dir_file_changed (GnomeCmdDir *dir, GnomeCmdFile *f, GnomeCmdFileSelector *fs)
{
- g_return_if_fail (GNOME_CMD_IS_DIR (dir));
g_return_if_fail (GNOME_CMD_IS_FILE (f));
g_return_if_fail (GNOME_CMD_IS_FILE_SELECTOR (fs));
@@ -796,7 +794,6 @@
static void on_dir_file_renamed (GnomeCmdDir *dir, GnomeCmdFile *f, GnomeCmdFileSelector *fs)
{
- g_return_if_fail (GNOME_CMD_IS_DIR (dir));
g_return_if_fail (GNOME_CMD_IS_FILE (f));
g_return_if_fail (GNOME_CMD_IS_FILE_SELECTOR (fs));
@@ -825,9 +822,6 @@
static void on_combo_popwin_hidden (GnomeCmdCombo *combo, GnomeCmdFileSelector *fs)
{
- g_return_if_fail (GNOME_CMD_IS_COMBO (combo));
- g_return_if_fail (GNOME_CMD_IS_FILE_SELECTOR (fs));
-
gnome_cmd_main_win_refocus (main_win);
}
@@ -1322,7 +1316,6 @@
{
g_return_if_fail (GNOME_CMD_IS_FILE_SELECTOR (fs));
g_return_if_fail (GNOME_CMD_IS_DIR (fs->file_list()->cwd));
- g_return_if_fail (GNOME_CMD_IS_CON (fs->get_connection()));
if (!fs->is_local())
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]