mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 09:27:39 +01:00
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
This commit is contained in:
parent
36538ed3df
commit
fdf0db02a0
4 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue