SmartPtr: fixed incorrect ifdefs around ical unref

The unref methods for ical where unnecessarily inside an "ifdef HAVE_GLIB".
This causes problems when compiling code with a non-SyncEvolution config.h.
This commit is contained in:
Patrick Ohly 2010-12-01 12:21:38 +01:00
parent 6bfdec95a5
commit 7b94f51d0c

View file

@ -70,12 +70,12 @@ class Unref {
}
#ifdef ENABLE_EBOOK
static void unref(EBookQuery *pointer) { e_book_query_unref(pointer); }
#endif
#endif // ENABLE_EBOOK
#endif // HAVE_GLIB
#ifdef ENABLE_ICAL
static void unref(icalcomponent *pointer) { icalcomponent_free(pointer); }
static void unref(icaltimezone *pointer) { icaltimezone_free(pointer, 1); }
#endif
#endif
#endif // ENABLE_ICAL
};
#ifdef HAVE_GLIB