GdkSeat: Use g_intern_static_string() for signal names

https://bugzilla.gnome.org/show_bug.cgi?id=759857
This commit is contained in:
Carlos Garnacho 2015-12-25 14:23:20 +01:00
parent 9f06474bcc
commit 9290aa7c46

View File

@ -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),