| 143 g_return_if_fail(PURPLE_IS_SAVED_PRESENCE(presence)); |
143 g_return_if_fail(PURPLE_IS_SAVED_PRESENCE(presence)); |
| 144 |
144 |
| 145 if(G_IS_SETTINGS(settings)) { |
145 if(G_IS_SETTINGS(settings)) { |
| 146 char *schema_id = NULL; |
146 char *schema_id = NULL; |
| 147 |
147 |
| 148 g_object_get(G_OBJECT(settings), "schema-id", &schema_id, NULL); |
148 g_object_get(settings, "schema-id", &schema_id, NULL); |
| 149 |
149 |
| 150 if(!purple_strequal("im.pidgin.Purple.SavedPresence", schema_id)) { |
150 if(!purple_strequal("im.pidgin.Purple.SavedPresence", schema_id)) { |
| 151 g_warning("expected schema id of im.pidgin.Purple.SavedPresence, " |
151 g_warning("expected schema id of im.pidgin.Purple.SavedPresence, " |
| 152 "but found %s", schema_id); |
152 "but found %s", schema_id); |
| 153 |
153 |