summaryrefslogtreecommitdiff
path: root/gdk/gdkevents.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-02-28 12:20:39 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-02-28 12:23:12 -0500
commit1c887b22870a8fc6f6bcf6f13c1b70448c8ae634 (patch)
tree593921cf4ed8f7b55241740cfc54b88c076ad10e /gdk/gdkevents.c
parent697efcd4bc35ca98dd8da48d30069229472abc98 (diff)
downloadgtk+-1c887b22870a8fc6f6bcf6f13c1b70448c8ae634.tar.gz
gdk: Strip newlines from g_warning and g_error
g_logv adds one for us already.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r--gdk/gdkevents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index f6ab55fd54..1aae733c38 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -1665,7 +1665,7 @@ gdk_event_get_device (const GdkEvent *event)
GdkSeat *seat;
g_warning ("Event with type %d not holding a GdkDevice. "
- "It is most likely synthesized outside Gdk/GTK+\n",
+ "It is most likely synthesized outside Gdk/GTK+",
event->type);
display = gdk_window_get_display (event->any.window);
@@ -2373,7 +2373,7 @@ gdk_event_get_seat (const GdkEvent *event)
GdkDevice *device;
g_warning ("Event with type %d not holding a GdkSeat. "
- "It is most likely synthesized outside Gdk/GTK+\n",
+ "It is most likely synthesized outside Gdk/GTK+",
event->type);
device = gdk_event_get_device (event);