[gnome-settings-daemon] wacom: Remove duplicate warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Remove duplicate warning
- Date: Fri, 4 Oct 2013 07:46:21 +0000 (UTC)
commit 5cd2024f563cb5c01d0de885f61986e5e245d86f
Author: Bastien Nocera <hadess hadess net>
Date: Fri Oct 4 09:15:35 2013 +0200
wacom: Remove duplicate warning
gsd_wacom_osd_window_place_buttons() is the only caller, and
already warns about the inability to get the position for that button.
plugins/wacom/gsd-wacom-osd-window.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-osd-window.c b/plugins/wacom/gsd-wacom-osd-window.c
index ef313a1..d894915 100644
--- a/plugins/wacom/gsd-wacom-osd-window.c
+++ b/plugins/wacom/gsd-wacom-osd-window.c
@@ -129,10 +129,8 @@ get_sub_location (RsvgHandle *handle,
RsvgPositionData position;
double tx, ty;
- if (!rsvg_handle_get_position_sub (handle, &position, sub)) {
- g_warning ("Failed to retrieve '%s' position", sub);
+ if (!rsvg_handle_get_position_sub (handle, &position, sub))
return FALSE;
- }
tx = (double) position.x;
ty = (double) position.y;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]