Bug 658398 - Use of uninitialized variable reported by Valgrind

Fix it.
This commit is contained in:
Behdad Esfahbod 2011-09-07 16:19:44 -04:00
parent f5aba05c93
commit 057a50d58e

View File

@ -1097,11 +1097,10 @@ gtk_selection_convert (GtkWidget *widget,
{
GtkWidget *owner_widget;
gpointer owner_widget_ptr;
GtkSelectionData selection_data;
GtkSelectionData selection_data = {0};
selection_data.selection = selection;
selection_data.target = target;
selection_data.data = NULL;
selection_data.length = -1;
selection_data.display = display;