From 9290aa7c46fcfd2dc966d7dee0f8ca7dece06b60 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 25 Dec 2015 14:23:20 +0100 Subject: [PATCH] GdkSeat: Use g_intern_static_string() for signal names https://bugzilla.gnome.org/show_bug.cgi?id=759857 --- gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/gdkseat.c b/gdk/gdkseat.c index 14cb99cf14..7aca90df58 100644 --- a/gdk/gdkseat.c +++ b/gdk/gdkseat.c @@ -117,7 +117,7 @@ gdk_seat_class_init (GdkSeatClass *klass) * Since: 3.20 */ signals [DEVICE_ADDED] = - g_signal_new (P_("device-added"), + g_signal_new (g_intern_static_string ("device-added"), G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GdkSeatClass, device_added), @@ -137,7 +137,7 @@ gdk_seat_class_init (GdkSeatClass *klass) * Since: 3.20 */ signals [DEVICE_REMOVED] = - g_signal_new (P_("device-removed"), + g_signal_new (g_intern_static_string ("device-removed"), G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GdkSeatClass, device_removed),