diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2012-05-22 20:57:23 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2012-05-22 20:57:23 +0100 |
commit | 84c819cffec08ba13f788a1dc12c239ac857246e (patch) | |
tree | ad9dbf0f788b8700ee64315b0a91226b9cbf953e /tikzit/src/gtk/EdgeStyleSelector.m | |
parent | 0973261fd48dc4b85387120fbef6fa9aac756a77 (diff) | |
parent | 37e7f18392109225ca5c257d14eda2f89a938370 (diff) |
Merge branch 'master' into resize_preview
Diffstat (limited to 'tikzit/src/gtk/EdgeStyleSelector.m')
-rw-r--r-- | tikzit/src/gtk/EdgeStyleSelector.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tikzit/src/gtk/EdgeStyleSelector.m b/tikzit/src/gtk/EdgeStyleSelector.m index 544ed98..c9c9780 100644 --- a/tikzit/src/gtk/EdgeStyleSelector.m +++ b/tikzit/src/gtk/EdgeStyleSelector.m @@ -289,7 +289,7 @@ enum { } else { GdkPixbuf *pixbuf = [self pixbufOfEdgeInStyle: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)); @@ -411,7 +411,7 @@ enum { STYLES_ICON_COL, pixbuf, STYLES_PTR_COL, (gpointer)[style retain], -1); - gdk_pixbuf_unref (pixbuf); + g_object_unref (pixbuf); [self observeStyle:style]; } |