Remove G_PARAM_STATIC_STRINGS since it requires glib 2.13
authorMikko Rasa <mikko.rasa@movial.fi>
Tue, 21 Oct 2008 11:00:56 +0000 (14:00 +0300)
committerMikko Rasa <mikko.rasa@movial.fi>
Tue, 21 Oct 2008 11:00:56 +0000 (14:00 +0300)
src/octopus-backend.c
src/octopus-route.c

index c88adf6..70e0ad0 100644 (file)
@@ -56,11 +56,11 @@ octopus_backend_class_init(OctopusBackendClass *klass)
 
   g_object_class_install_property(gobject_class, PROP_NAME,
     g_param_spec_string("name", "Name", "Name of the backend", NULL,
-      G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+      G_PARAM_READABLE));
 
   g_object_class_install_property(gobject_class, PROP_MODULE_MANAGER,
     g_param_spec_pointer("module-manager", "Module manager", "",
-      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
+      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 }
 
 static void
index d78c593..f03bd63 100644 (file)
@@ -84,19 +84,19 @@ octopus_route_class_init(OctopusRouteClass *klass)
 
   g_object_class_install_property(gobject_class, PROP_ID,
     g_param_spec_uint("id", "ID", "Route ID (used for the D-Bus API)", 0, UINT_MAX, 0,
-      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
+      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
   g_object_class_install_property(gobject_class, PROP_BACKEND,
     g_param_spec_pointer("backend", "Backend", "The backend that created this route",
-      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
+      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
   g_object_class_install_property(gobject_class, PROP_SOURCES,
     g_param_spec_pointer("sources", "Sources", "Source endpoints used for this route",
-      G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+      G_PARAM_READABLE));
 
   g_object_class_install_property(gobject_class, PROP_SINKS,
     g_param_spec_pointer("sinks", "Sinks", "Sink endpoints used for this route",
-      G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+      G_PARAM_READABLE));
 
   signals[SIGNAL_MAPPING_CHANGED] = 
         g_signal_new ("mapping-changed",