mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gio: Intern all signal names beforehand
This avoids pointless copying of static strings.
This commit is contained in:
@@ -419,7 +419,7 @@ g_dbus_server_class_init (GDBusServerClass *klass)
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
_signals[NEW_CONNECTION_SIGNAL] = g_signal_new ("new-connection",
|
||||
_signals[NEW_CONNECTION_SIGNAL] = g_signal_new (I_("new-connection"),
|
||||
G_TYPE_DBUS_SERVER,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GDBusServerClass, new_connection),
|
||||
|
Reference in New Issue
Block a user