diff options
author | bland <bland@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-12 15:37:22 +0800 |
---|---|---|
committer | bland <bland@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-12 15:37:22 +0800 |
commit | 73d70cc2e1d4beb2a87f46c81e5dd54f0a769aed (patch) | |
tree | c86264a779c3739ce1f286b4ff5960bb76c07528 | |
parent | 5bb8b15b3fd84f72a816ccb411636701decb3fdb (diff) | |
download | marcuscom-ports-73d70cc2e1d4beb2a87f46c81e5dd54f0a769aed.tar marcuscom-ports-73d70cc2e1d4beb2a87f46c81e5dd54f0a769aed.tar.gz marcuscom-ports-73d70cc2e1d4beb2a87f46c81e5dd54f0a769aed.tar.bz2 marcuscom-ports-73d70cc2e1d4beb2a87f46c81e5dd54f0a769aed.tar.lz marcuscom-ports-73d70cc2e1d4beb2a87f46c81e5dd54f0a769aed.tar.xz marcuscom-ports-73d70cc2e1d4beb2a87f46c81e5dd54f0a769aed.tar.zst marcuscom-ports-73d70cc2e1d4beb2a87f46c81e5dd54f0a769aed.zip |
Fix build after recent gtkmm API change.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1820 df743ca5-7f9a-e211-a948-0013205c9059
-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; + } + + |