From 52c7e25e50028684dc4577f2c54d176ca91f18b4 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 25 Oct 2005 15:57:13 +0000 Subject: Add const keywords --- glib/dbus-gmain.c | 2 +- glib/dbus-gobject.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'glib') diff --git a/glib/dbus-gmain.c b/glib/dbus-gmain.c index 4904588e..1d845b8d 100644 --- a/glib/dbus-gmain.c +++ b/glib/dbus-gmain.c @@ -76,7 +76,7 @@ static gboolean message_queue_dispatch (GSource *source, GSourceFunc callback, gpointer user_data); -static GSourceFuncs message_queue_funcs = { +static const GSourceFuncs message_queue_funcs = { message_queue_prepare, message_queue_check, message_queue_dispatch, diff --git a/glib/dbus-gobject.c b/glib/dbus-gobject.c index 547a744b..1463ae26 100644 --- a/glib/dbus-gobject.c +++ b/glib/dbus-gobject.c @@ -1329,7 +1329,7 @@ gobject_message_function (DBusConnection *connection, return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } -static DBusObjectPathVTable gobject_dbus_vtable = { +static const DBusObjectPathVTable gobject_dbus_vtable = { gobject_unregister_function, gobject_message_function, NULL -- cgit