diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-03-05 04:39:02 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-03-05 04:39:02 +0800 |
commit | c538747217542d22af4bcf01d5dae8ec7301da58 (patch) | |
tree | 73e12402ff1aef588da5e03e625c10fbc7604cb2 /shell/e-storage-set-view.c | |
parent | 16590660ae3106343fddfaf985665fe42b87ed5f (diff) | |
download | gsoc2013-evolution-c538747217542d22af4bcf01d5dae8ec7301da58.tar.gz gsoc2013-evolution-c538747217542d22af4bcf01d5dae8ec7301da58.tar.zst gsoc2013-evolution-c538747217542d22af4bcf01d5dae8ec7301da58.zip |
Handle p->data as a GdkAtom instead of a GdkAtom *.
* e-folder-dnd-bridge.c (find_matching_target_for_drag_context):
Handle p->data as a GdkAtom instead of a GdkAtom *.
(handle_data_received_non_path): Set the target member of the
corba_data struct to be the name of the atom.
* e-storage-set-view.c (impl_tree_drag_data_get): Pass the name of
the atom instead of the atom itself.
* Evolution-ShellComponentDnd.idl: Changed the type of Data.target
to string.
svn path=/trunk/; revision=20150
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r-- | shell/e-storage-set-view.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 82af6389cd..735da0ab21 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -1097,16 +1097,15 @@ impl_tree_drag_data_get (ETree *etree, & priv->drag_corba_data, &ev); -#if 0 if (ev._major != CORBA_NO_EXCEPTION) - gtk_selection_data_set (selection_data, selection_data->target, 8, "", -1); + gtk_selection_data_set (selection_data, + selection_data->target, 8, "", -1); else gtk_selection_data_set (selection_data, - priv->drag_corba_data->target, + gdk_atom_intern (priv->drag_corba_data->target, FALSE), priv->drag_corba_data->format, priv->drag_corba_data->bytes._buffer, priv->drag_corba_data->bytes._length); -#endif g_free (target_type); |