summaryrefslogtreecommitdiffstats
path: root/src/widgets/icon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/icon.cpp')
-rw-r--r--src/widgets/icon.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp
index dccd0916e..35ab1842d 100644
--- a/src/widgets/icon.cpp
+++ b/src/widgets/icon.cpp
@@ -99,6 +99,10 @@ static std::map<Glib::ustring, std::vector<IconCacheItem> > iconSetCache;
GtkType
sp_icon_get_type()
{
+ //TODO: switch to GObject
+ // GtkType and such calls were deprecated a while back with the
+ // introduction of GObject as a separate layer, with GType instead. --JonCruz
+
static GtkType type = 0;
if (!type) {
GtkTypeInfo info = {