diff options
-rw-r--r-- | x11-toolkits/libgnomeuimm/files/patch-examples::iconlist::iconlist2.cc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-toolkits/libgnomeuimm/files/patch-examples::iconlist::iconlist2.cc b/x11-toolkits/libgnomeuimm/files/patch-examples::iconlist::iconlist2.cc new file mode 100644 index 000000000..77a7936c7 --- /dev/null +++ b/x11-toolkits/libgnomeuimm/files/patch-examples::iconlist::iconlist2.cc @@ -0,0 +1,32 @@ +--- examples/iconlist/iconlist2.cc.orig Wed Feb 11 22:27:29 2004 ++++ examples/iconlist/iconlist2.cc Thu Feb 12 02:35:43 2004 +@@ -14,7 +14,7 @@ + virtual void on_select_icon(int icon, GdkEvent* event); + virtual void on_unselect_icon(int icon, GdkEvent* event); + virtual void on_drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, +- GtkSelectionData* data, ++ Gtk::SelectionData& data, + guint info, + guint time); + virtual void on_drag_data_delete(const Glib::RefPtr<Gdk::DragContext>& context); +@@ -60,17 +60,14 @@ + + void + TestIconList::on_drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, +- GtkSelectionData* data, ++ Gtk::SelectionData& data, + guint info, + guint time) + { + Gnome::UI::IconList::on_drag_data_get(context, data, info, time); + char* name = (char*) get_icon_data(m_selected); +- gtk_selection_data_set(data, +- data->target, +- 8, +- (const guchar*) name, +- strlen(name)); ++ data.set(8, (guint8*)name, strlen(name)); ++ std::cerr << "TestIconList::on_drag_data_get called" << std::endl; + } + + |