diff options
author | David Robillard <d@drobilla.net> | 2011-12-10 20:21:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-10 20:21:28 +0000 |
commit | 12c55defa28dd75ff91522c797ca9004061e5b2f (patch) | |
tree | 03fe9b4794ab6cd7643fd1c6d2df5a9d51eddb83 /src/module.c | |
parent | 103de1c0a236eaa7cc7a20986d32aa7739c4976c (diff) | |
download | ganv-12c55defa28dd75ff91522c797ca9004061e5b2f.tar.gz ganv-12c55defa28dd75ff91522c797ca9004061e5b2f.tar.bz2 ganv-12c55defa28dd75ff91522c797ca9004061e5b2f.zip |
Change GanvGroup* to GanvItem* for parent pointers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3857 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/module.c')
-rw-r--r-- | src/module.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/module.c b/src/module.c index e509615..530aabe 100644 --- a/src/module.c +++ b/src/module.c @@ -734,13 +734,12 @@ ganv_module_set_icon(GanvModule* module, } if (icon) { - impl->icon_box = ganv_item_new( - GANV_GROUP(module), - ganv_canvas_base_pixbuf_get_type(), - "x", 8.0, - "y", 10.0, - "pixbuf", icon, - NULL); + impl->icon_box = ganv_item_new(module, + ganv_canvas_base_pixbuf_get_type(), + "x", 8.0, + "y", 10.0, + "pixbuf", icon, + NULL); const double icon_w = gdk_pixbuf_get_width(icon); const double icon_h = gdk_pixbuf_get_height(icon); @@ -809,7 +808,7 @@ ganv_module_embed(GanvModule* module, const double y = 4.0 + title_h; impl->embed_item = ganv_item_new( - GANV_GROUP(module), + GANV_ITEM(module), ganv_widget_get_type(), "x", 2.0, "y", y, |