← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~ted/libindicate/propfix into lp:libindicate

 

Ted Gould has proposed merging lp:~ted/libindicate/propfix into lp:libindicate.

Requested reviews:
    Indicator Applet Developers (indicator-applet-developers)

Fixing so we can get the count property.
-- 
https://code.launchpad.net/~ted/libindicate/propfix/+merge/11641
Your team ayatana-commits is subscribed to branch lp:libindicate.
=== modified file 'libindicate/server.c'
--- libindicate/server.c	2009-09-08 20:58:26 +0000
+++ libindicate/server.c	2009-09-11 21:13:52 +0000
@@ -429,7 +429,7 @@
 set_property (GObject * obj, guint id, const GValue * value, GParamSpec * pspec)
 {
 	g_return_if_fail(G_VALUE_HOLDS_STRING(value));
-	g_return_if_fail(id == PROP_DESKTOP || id == PROP_TYPE);
+	g_return_if_fail(id == PROP_DESKTOP || id == PROP_TYPE || id == PROP_COUNT);
 
 	IndicateServerPrivate * priv = INDICATE_SERVER_GET_PRIVATE(obj);
 	switch (id) {
@@ -463,7 +463,7 @@
 static void
 get_property (GObject * obj, guint id, GValue * value, GParamSpec * pspec)
 {
-	g_return_if_fail(id == PROP_DESKTOP || id == PROP_TYPE);
+	g_return_if_fail(id == PROP_DESKTOP || id == PROP_TYPE || id == PROP_COUNT);
 
 	IndicateServerPrivate * priv = INDICATE_SERVER_GET_PRIVATE(obj);
 	switch (id) {


Follow ups