[Xfce4-commits] [panel-plugins/xfce4-eyes-plugin] 08/16: Use GSourceFunc instead of GtkFunction, gtk_widget_get_realized instead of GTK_WIDGET_REALIZED
noreply at xfce.org
noreply at xfce.org
Sun Jun 5 17:47:38 CEST 2016
This is an automated email from the git hooks/post-receive script.
andre pushed a commit to branch master
in repository panel-plugins/xfce4-eyes-plugin.
commit 2d8830bd01e47d3909998f66954273c139c90a33
Author: Andre Miranda <andre42m at gmail.com>
Date: Thu May 26 00:27:22 2016 -0300
Use GSourceFunc instead of GtkFunction, gtk_widget_get_realized instead of GTK_WIDGET_REALIZED
---
panel-plugin/eyes.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/eyes.c b/panel-plugin/eyes.c
index 2565147..cd1bd8b 100644
--- a/panel-plugin/eyes.c
+++ b/panel-plugin/eyes.c
@@ -167,7 +167,7 @@ timer_cb(EyesPlugin *eyes)
for (i = 0; i < eyes->num_eyes; i++)
{
- if (GTK_WIDGET_REALIZED(eyes->eyes[i]))
+ if (gtk_widget_get_realized (eyes->eyes[i]))
{
gdk_window_get_pointer(eyes->eyes[i]->window, &x, &y, NULL);
@@ -278,7 +278,7 @@ eyes_applet_fill(EyesPlugin *eyes)
if (eyes->timeout_id == 0)
{
eyes->timeout_id = g_timeout_add (UPDATE_TIMEOUT,
- (GtkFunction)timer_cb, eyes);
+ (GSourceFunc)timer_cb, eyes);
}
return TRUE;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list