summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/NodeStyleSelector.m
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2012-05-22 20:57:23 +0100
committerAleks Kissinger <aleks0@gmail.com>2012-05-22 20:57:23 +0100
commit84c819cffec08ba13f788a1dc12c239ac857246e (patch)
treead9dbf0f788b8700ee64315b0a91226b9cbf953e /tikzit/src/gtk/NodeStyleSelector.m
parent0973261fd48dc4b85387120fbef6fa9aac756a77 (diff)
parent37e7f18392109225ca5c257d14eda2f89a938370 (diff)
Merge branch 'master' into resize_preview
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];
}