[Xfce4-commits] [apps/xfce4-notifyd] 16/29: Make it compiles with --enable-debug=full
noreply at xfce.org
noreply at xfce.org
Wed Jun 29 23:20:06 CEST 2016
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository apps/xfce4-notifyd.
commit b225af987ae0ca3b08df1cbc4ffe2a2b1fee8bab
Author: Ali Abdallah <aliovx at gmail.com>
Date: Thu Oct 15 18:57:59 2015 +0200
Make it compiles with --enable-debug=full
---
xfce4-notifyd/xfce-notify-daemon.c | 2 --
xfce4-notifyd/xfce-notify-window.c | 3 +--
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/xfce4-notifyd/xfce-notify-daemon.c b/xfce4-notifyd/xfce-notify-daemon.c
index a190806..3fb5c59 100644
--- a/xfce4-notifyd/xfce-notify-daemon.c
+++ b/xfce4-notifyd/xfce-notify-daemon.c
@@ -373,8 +373,6 @@ static void xfce_notify_daemon_constructed (GObject *obj)
static void
xfce_notify_daemon_init(XfceNotifyDaemon *xndaemon)
{
- GtkWidgetPath *widget_path;
-
xndaemon->active_notifications = g_tree_new_full(xfce_direct_compare,
NULL, NULL,
(GDestroyNotify)gtk_widget_destroy);
diff --git a/xfce4-notifyd/xfce-notify-window.c b/xfce4-notifyd/xfce-notify-window.c
index bb3b5d7..6024a2d 100644
--- a/xfce4-notifyd/xfce-notify-window.c
+++ b/xfce4-notifyd/xfce-notify-window.c
@@ -359,7 +359,7 @@ xfce_notify_window_draw_rectangle (XfceNotifyWindow *window,
border_width = get_max_border_width (context, state);
border_padding = border_width / 2.0;
- if(radius < 0.1) {
+ if(radius < 1) {
cairo_rectangle(cr, 0, 0, widget_allocation.width,
widget_allocation.height);
} else {
@@ -520,7 +520,6 @@ static gboolean
xfce_notify_window_configure_event(GtkWidget *widget,
GdkEventConfigure *evt)
{
- XfceNotifyWindow *window = XFCE_NOTIFY_WINDOW(widget);
gboolean ret;
ret = GTK_WIDGET_CLASS(xfce_notify_window_parent_class)->configure_event(widget,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list