[rhythmbox] shell: Fix another clipboard warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] shell: Fix another clipboard warning
- Date: Thu, 24 Feb 2011 17:24:55 +0000 (UTC)
commit dc221628559f764c40582709b2048c3b56cc99e4
Author: Bastien Nocera <hadess hadess net>
Date: Thu Feb 24 17:23:46 2011 +0000
shell: Fix another clipboard warning
shell/rb-shell-clipboard.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/rb-shell-clipboard.c b/shell/rb-shell-clipboard.c
index 144dc4d..afe5e4e 100644
--- a/shell/rb-shell-clipboard.c
+++ b/shell/rb-shell-clipboard.c
@@ -976,7 +976,7 @@ add_playlist_to_menu (GtkTreeModel *model,
*/
g_object_get (clipboard->priv->source, "entry-type", &entry_type, NULL);
g_object_get (page, "entry-type", &source_entry_type, NULL);
- if (source_entry_type != entry_type) {
+ if (source_entry_type != entry_type || source_entry_type == NULL) {
g_object_unref (page);
if (entry_type)
g_object_unref (entry_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]