summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_component.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-05-28 15:20:39 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-05-28 15:20:39 +0000
commitfdf0db02a0f16044773a9229b9c872bdd512c7a9 (patch)
treeb49674e13ea698683765b056de855610d0f0c28f /gtk2_ardour/port_matrix_component.cc
parent36538ed3dfa61972a35ac1995eec730b05f17299 (diff)
replace use of gdk_pixmap_unref() with g_object_unref
git-svn-id: svn://localhost/ardour2/branches/3.0@7184 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_component.cc')
-rw-r--r--gtk2_ardour/port_matrix_component.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix_component.cc b/gtk2_ardour/port_matrix_component.cc
index 9652a38f21..440376d1fa 100644
--- a/gtk2_ardour/port_matrix_component.cc
+++ b/gtk2_ardour/port_matrix_component.cc
@@ -41,7 +41,7 @@ PortMatrixComponent::PortMatrixComponent (PortMatrix* m, PortMatrixBody* b)
PortMatrixComponent::~PortMatrixComponent ()
{
if (_pixmap) {
- gdk_pixmap_unref (_pixmap);
+ g_object_unref (_pixmap);
}
}
@@ -74,7 +74,7 @@ PortMatrixComponent::get_pixmap (GdkDrawable *drawable)
/* make a pixmap of the right size */
if (_pixmap) {
- gdk_pixmap_unref (_pixmap);
+ g_object_unref (_pixmap);
}
_pixmap = gdk_pixmap_new (drawable, _width, _height, -1);