Avoid a warning with Gtk+ < 2.14

This commit is contained in:
Pierre Pronchery 2011-11-18 03:55:41 +00:00
parent f1e1bf91db
commit a947fadfcc

View File

@ -81,7 +81,7 @@ static int _common_drag_data_received(GdkDragContext * context,
p = (char *)gtk_selection_data_get_data(seldata);
p = &p[i];
#else
p = &seldata->data[i];
p = (char *)&seldata->data[i];
#endif
selection = g_list_append(selection, p);
}