diff libpurple/theme-loader.c @ 25089:d60c3d1c6966

fixed some gobject stuff
author Justin Rodriguez <ffdragon@soc.pidgin.im>
date Sat, 21 Jun 2008 23:42:57 +0000
parents 9ffbfbcf307d
children 5a02912e0bac
line wrap: on
line diff
--- a/libpurple/theme-loader.c	Sat Jun 21 05:55:58 2008 +0000
+++ b/libpurple/theme-loader.c	Sat Jun 21 23:42:57 2008 +0000
@@ -43,7 +43,6 @@
 /******************************************************************************
  * Enums
  *****************************************************************************/
-#define PROP_TYPE_S "type"
 
 enum {
 	PROP_ZERO = 0,
@@ -109,10 +108,10 @@
 	obj_class->finalize = purple_theme_loader_finalize;
 
 	/* TYPE STRING (read only) */
-	pspec = g_param_spec_string(PROP_TYPE_S, "Type",
+	pspec = g_param_spec_string("type", "Type",
 				    "The string represtenting the type of the theme",
 				    NULL,
-				    G_PARAM_READABLE | G_PARAM_CONSTRUCT_ONLY);
+				    G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 	g_object_class_install_property(obj_class, PROP_TYPE, pspec);
 }