[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 15/41: Replace gdk_cursor_unref().
noreply at xfce.org
noreply at xfce.org
Sat Aug 20 18:32:29 CEST 2016
This is an automated email from the git hooks/post-receive script.
gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.
commit 155113a0630287a5e580daaf6399b41953d2e0e8
Author: Graeme Gott <graeme at gottcode.org>
Date: Mon Aug 8 10:53:41 2016 -0400
Replace gdk_cursor_unref().
---
panel-plugin/resizer-widget.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/resizer-widget.cpp b/panel-plugin/resizer-widget.cpp
index 053898b..f19cb52 100644
--- a/panel-plugin/resizer-widget.cpp
+++ b/panel-plugin/resizer-widget.cpp
@@ -49,7 +49,7 @@ ResizerWidget::~ResizerWidget()
{
if (m_cursor)
{
- gdk_cursor_unref(m_cursor);
+ g_object_unref(G_OBJECT(m_cursor));
}
}
@@ -98,7 +98,7 @@ void ResizerWidget::set_corner(Corner corner)
if (m_cursor)
{
- gdk_cursor_unref(m_cursor);
+ g_object_unref(G_OBJECT(m_cursor));
}
m_cursor = gdk_cursor_new_for_display(gtk_widget_get_display(GTK_WIDGET(m_drawing)), type);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list