diff options
author | Ted Gould <ted@canonical.com> | 2009-02-13 13:58:48 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-13 13:58:48 -0600 |
commit | f8caa222e17d21500ef36cb57510308f5e2ce852 (patch) | |
tree | 1c730001698c19c98ccb3971c3e8e5ee1955df19 /src | |
parent | f37cabbdae0fe452f5bd333c454171e70a993500 (diff) | |
download | ayatana-indicator-messages-f8caa222e17d21500ef36cb57510308f5e2ce852.tar.gz ayatana-indicator-messages-f8caa222e17d21500ef36cb57510308f5e2ce852.tar.bz2 ayatana-indicator-messages-f8caa222e17d21500ef36cb57510308f5e2ce852.zip |
Oh, I forgot these create log messages. Very annoying.
Diffstat (limited to 'src')
-rw-r--r-- | src/im-menu-item.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c index 0fe3b8d..b5940ac 100644 --- a/src/im-menu-item.c +++ b/src/im-menu-item.c @@ -240,8 +240,9 @@ indicator_modified_cb (IndicateListener * listener, IndicateListenerServer * ser { ImMenuItemPrivate * priv = IM_MENU_ITEM_GET_PRIVATE(self); - g_return_if_fail(INDICATE_LISTENER_INDICATOR_ID(indicator) == INDICATE_LISTENER_INDICATOR_ID(priv->indicator)); - g_return_if_fail(!strcmp(INDICATE_LISTENER_SERVER_DBUS_NAME(server), INDICATE_LISTENER_SERVER_DBUS_NAME(priv->server))); + /* Not meant for us */ + if (INDICATE_LISTENER_INDICATOR_ID(indicator) != INDICATE_LISTENER_INDICATOR_ID(priv->indicator)) return; + if (strcmp(INDICATE_LISTENER_SERVER_DBUS_NAME(server), INDICATE_LISTENER_SERVER_DBUS_NAME(priv->server))) return; if (!strcmp(property, "sender")) { indicate_listener_get_property(listener, server, indicator, "sender", sender_cb, self); |