summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/NodeStyleSelector.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/gtk/NodeStyleSelector.m')
-rw-r--r--tikzit/src/gtk/NodeStyleSelector.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/tikzit/src/gtk/NodeStyleSelector.m b/tikzit/src/gtk/NodeStyleSelector.m
index af02338..885dc79 100644
--- a/tikzit/src/gtk/NodeStyleSelector.m
+++ b/tikzit/src/gtk/NodeStyleSelector.m
@@ -282,7 +282,7 @@ enum {
} else {
GdkPixbuf *pixbuf = [self pixbufOfNodeInStyle:style];
gtk_list_store_set (store, &row, STYLES_ICON_COL, pixbuf, -1);
- gdk_pixbuf_unref (pixbuf);
+ g_object_unref (pixbuf);
}
}
} while (gtk_tree_model_iter_next (model, &row));
@@ -387,7 +387,7 @@ enum {
STYLES_ICON_COL, pixbuf,
STYLES_PTR_COL, (gpointer)[style retain],
-1);
- gdk_pixbuf_unref (pixbuf);
+ g_object_unref (pixbuf);
[self observeStyle:style];
}