diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-19 13:49:32 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-19 13:49:32 +0200 |
commit | f88266a60437836f325b34fe125b93cb1e8bec3d (patch) | |
tree | 1b49363c81fbc3937bb7330839dd22798ec4ef7d | |
parent | 7f0c703a70b02b7c7724abb36d3bc1be8b613521 (diff) | |
download | libayatana-indicator-f88266a60437836f325b34fe125b93cb1e8bec3d.tar.gz libayatana-indicator-f88266a60437836f325b34fe125b93cb1e8bec3d.tar.bz2 libayatana-indicator-f88266a60437836f325b34fe125b93cb1e8bec3d.zip |
IndicatorDesktopShortcuts: some code cleanup
-rw-r--r-- | libindicator/indicator-desktop-shortcuts.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libindicator/indicator-desktop-shortcuts.c b/libindicator/indicator-desktop-shortcuts.c index 41a2d3e..740d7e1 100644 --- a/libindicator/indicator-desktop-shortcuts.c +++ b/libindicator/indicator-desktop-shortcuts.c @@ -649,9 +649,7 @@ indicator_desktop_shortcuts_nick_exec_with_context (IndicatorDesktopShortcuts * if (error != NULL) { g_warning("Unable to launch file from nick '%s': %s", nick, error->message); - g_error_free(error); - g_object_unref(appinfo); - return FALSE; + g_clear_error(&error); } g_object_unref(appinfo); |