2007-03-19 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-view.c: (ev_view_primary_get_cb):
Check pointer != NULL before using it. Fixes bug #416841.
svn path=/trunk/; revision=2382
+2007-03-19 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-view.c: (ev_view_primary_get_cb):
+
+ Check pointer != NULL before using it. Fixes bug #416841.
+
2007-03-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* NEWS:
}
text = get_selected_text (ev_view);
- gtk_selection_data_set_text (selection_data, text, -1);
- g_free (text);
+ if (text) {
+ gtk_selection_data_set_text (selection_data, text, -1);
+ g_free (text);
+ }
}
static void