[aisleriot] Remove 'sliced' card theme format
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] Remove 'sliced' card theme format
- Date: Mon, 25 Apr 2011 16:00:13 +0000 (UTC)
commit 1982acb52a3d5c933a2beb8fc7c70e9c2b6c41e8
Author: Christian Persch <chpe gnome org>
Date: Mon Apr 25 17:44:20 2011 +0200
Remove 'sliced' card theme format
It's obsolete.
src/lib/ar-card-theme-private.h | 20 ---
src/lib/ar-card-theme-sliced.c | 273 ---------------------------------------
src/lib/ar-card-theme.c | 3 -
src/lib/ar-card-themes.c | 6 -
4 files changed, 0 insertions(+), 302 deletions(-)
---
diff --git a/src/lib/ar-card-theme-private.h b/src/lib/ar-card-theme-private.h
index d0a5e4e..0ef9307 100644
--- a/src/lib/ar-card-theme-private.h
+++ b/src/lib/ar-card-theme-private.h
@@ -204,26 +204,6 @@ ArCardTheme* ar_card_theme_kde_new (void);
#endif /* HAVE_RSVG */
-/* ArCardThemeSliced */
-
-#ifdef ENABLE_CARD_THEME_FORMAT_SLICED
-
-#define AR_TYPE_CARD_THEME_SLICED (ar_card_theme_sliced_get_type ())
-#define AR_CARD_THEME_SLICED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AR_TYPE_CARD_THEME_SLICED, ArCardThemeSliced))
-#define AR_CARD_THEME_SLICED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), AR_TYPE_CARD_THEME_SLICED, ArCardThemeSlicedClass))
-#define AR_IS_CARD_THEME_SLICED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AR_TYPE_CARD_THEME_SLICED))
-#define AR_IS_CARD_THEME_SLICED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), AR_TYPE_CARD_THEME_SLICED))
-#define AR_CARD_THEME_SLICED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AR_TYPE_CARD_THEME_SLICED, ArCardThemeSlicedClass))
-
-typedef struct _ArCardThemeSlicedClass ArCardThemeSlicedClass;
-typedef struct _ArCardThemeSliced ArCardThemeSliced;
-
-GType ar_card_theme_sliced_get_type (void);
-
-ArCardTheme* ar_card_theme_sliced_new (void);
-
-#endif /* ENABLE_CARD_THEME_FORMAT_SLICED */
-
/* ArCardThemeFixed */
#ifdef ENABLE_CARD_THEME_FORMAT_FIXED
diff --git a/src/lib/ar-card-theme.c b/src/lib/ar-card-theme.c
index 5be393e..d512596 100644
--- a/src/lib/ar-card-theme.c
+++ b/src/lib/ar-card-theme.c
@@ -473,9 +473,6 @@ theme_type_compare (GType a,
AR_TYPE_CARD_THEME_KDE,
#endif
#endif /* HAVE_RSVG */
-#ifdef ENABLE_CARD_THEME_FORMAT_SLICED
- AR_TYPE_CARD_THEME_SLICED,
-#endif
#ifdef ENABLE_CARD_THEME_FORMAT_PYSOL
AR_TYPE_CARD_THEME_PYSOL,
#endif
diff --git a/src/lib/ar-card-themes.c b/src/lib/ar-card-themes.c
index 24f30f0..9cc5997 100644
--- a/src/lib/ar-card-themes.c
+++ b/src/lib/ar-card-themes.c
@@ -82,9 +82,6 @@ theme_type_from_string (const char *type_str,
{ "kde", AR_TYPE_CARD_THEME_KDE },
#endif
#endif /* HAVE_RSVG */
-#ifdef ENABLE_CARD_THEME_FORMAT_SLICED
- { "sliced", AR_TYPE_CARD_THEME_SLICED },
-#endif
#ifdef ENABLE_CARD_THEME_FORMAT_PYSOL
{ "pysol", AR_TYPE_CARD_THEME_PYSOL },
#endif
@@ -219,9 +216,6 @@ ar_card_themes_foreach_theme_type_and_dir (ArCardThemes *theme_manager,
AR_TYPE_CARD_THEME_KDE,
#endif
#endif /* HAVE_RSVG */
-#ifdef ENABLE_CARD_THEME_FORMAT_SLICED
- AR_TYPE_CARD_THEME_SLICED,
-#endif
#ifdef ENABLE_CARD_THEME_FORMAT_PYSOL
AR_TYPE_CARD_THEME_PYSOL,
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]