summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentchooser.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-08-18 15:30:57 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-08-18 15:30:57 +0000
commita2cb34336a328f5571cc8e18b2038c37d529f9e1 (patch)
tree3f874153e6d7e5ca2bf571eb8e6a2fbfaa437565 /gtk/gtkrecentchooser.c
parentd9f077ff6b6cd08fbc181c7feaac6266e83e9e84 (diff)
downloadgtk+-a2cb34336a328f5571cc8e18b2038c37d529f9e1.tar.gz
fix recent files issues
Diffstat (limited to 'gtk/gtkrecentchooser.c')
-rw-r--r--gtk/gtkrecentchooser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkrecentchooser.c b/gtk/gtkrecentchooser.c
index 06b5fdd764..d8cc65e6d1 100644
--- a/gtk/gtkrecentchooser.c
+++ b/gtk/gtkrecentchooser.c
@@ -836,8 +836,6 @@ gtk_recent_chooser_get_uris (GtkRecentChooser *chooser,
gsize n_items, i;
items = gtk_recent_chooser_get_items (chooser);
- if (!items)
- return NULL;
n_items = g_list_length (items);
retval = g_new0 (gchar *, n_items + 1);