[gnome-commander/gcmd-1-3] Removed unused code
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-3] Removed unused code
- Date: Sat, 12 Sep 2009 17:06:34 +0000 (UTC)
commit f5f748b0608462d50579042429e4e50225c5e4b4
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Sep 12 18:55:56 2009 +0200
Removed unused code
src/gnome-cmd-file.cc | 28 ----------------------------
src/gnome-cmd-file.h | 2 --
2 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
index e8fc0af..a36479f 100644
--- a/src/gnome-cmd-file.cc
+++ b/src/gnome-cmd-file.cc
@@ -656,34 +656,6 @@ gboolean gnome_cmd_file_get_type_pixmap_and_mask (GnomeCmdFile *f, GdkPixmap **p
}
-GdkPixmap *gnome_cmd_file_get_type_pixmap (GnomeCmdFile *f)
-{
- g_return_val_if_fail (f != NULL, NULL);
- g_return_val_if_fail (f->info != NULL, NULL);
-
- GdkPixmap *pm;
- GdkBitmap *mask;
-
- IMAGE_get_pixmap_and_mask (f->info->type, f->info->mime_type, f->info->symlink_name != NULL, &pm, &mask);
-
- return pm;
-}
-
-
-GdkBitmap *gnome_cmd_file_get_type_mask (GnomeCmdFile *f)
-{
- g_return_val_if_fail (f != NULL, NULL);
- g_return_val_if_fail (f->info != NULL, NULL);
-
- GdkPixmap *pm;
- GdkBitmap *mask;
-
- IMAGE_get_pixmap_and_mask (f->info->type, f->info->mime_type, f->info->symlink_name != NULL, &pm, &mask);
-
- return mask;
-}
-
-
const gchar *gnome_cmd_file_get_mime_type (GnomeCmdFile *f)
{
g_return_val_if_fail (f != NULL, NULL);
diff --git a/src/gnome-cmd-file.h b/src/gnome-cmd-file.h
index 7f10bc6..8977891 100644
--- a/src/gnome-cmd-file.h
+++ b/src/gnome-cmd-file.h
@@ -107,8 +107,6 @@ gboolean gnome_cmd_file_mime_begins_with (GnomeCmdFile *f, const gchar *mime_typ
const gchar *gnome_cmd_file_get_type_string (GnomeCmdFile *f);
const gchar *gnome_cmd_file_get_type_desc (GnomeCmdFile *f);
gboolean gnome_cmd_file_get_type_pixmap_and_mask (GnomeCmdFile *f, GdkPixmap **pixmap, GdkBitmap **mask);
-GdkPixmap *gnome_cmd_file_get_type_pixmap (GnomeCmdFile *f);
-GdkBitmap *gnome_cmd_file_get_type_mask (GnomeCmdFile *f);
void gnome_cmd_file_show_properties (GnomeCmdFile *f);
void gnome_cmd_file_show_chown_dialog (GList *files);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]