[gtkmm-documentation] Fix a use of the deprecated GTK_OBJECT_TYPE_NAME() macro.



commit 5766760f965ac2385ee5d780d3ca4caea49d4be3
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jan 5 15:30:31 2010 +0100

    Fix a use of the deprecated
    GTK_OBJECT_TYPE_NAME() macro.

 ChangeLog                        |    5 ++++-
 examples/others/dnd/dndwindow.cc |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2c86af7..e28b3a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,10 @@
 	* docs/tutorial/C/gtkmm-tutorial-in.xml: Add the beginnings of a ToolPallette 
 	chapter.
 	* examples/book/toolpalette/examplewindow.cc: Use the latest gtkmm API.
+2010-01-05  Murray Cumming  <murrayc murrayc com>
+
+	* examples/others/dnd/dndwindow.cc: Fix a use of the deprecated 
+	GTK_OBJECT_TYPE_NAME() macro.
 
 2009-12-30  Murray Cumming  <murrayc murrayc com>
 
@@ -468,7 +472,6 @@
 	* examples/book/treeview/popup/treeview_withpopup.cc: ditto,
 
 2.16.0:
-=======
 
 2009-03-17  Murray Cumming  <murrayc murrayc com>
 
diff --git a/examples/others/dnd/dndwindow.cc b/examples/others/dnd/dndwindow.cc
index c454ff5..d4abd89 100644
--- a/examples/others/dnd/dndwindow.cc
+++ b/examples/others/dnd/dndwindow.cc
@@ -155,7 +155,7 @@ bool DnDWindow::on_image_drag_motion(const Glib::RefPtr<Gdk::DragContext>& conte
 
   Gtk::Widget* source_widget = Gtk::Widget::drag_get_source_widget(context);
   g_print ("motion, source %s\n", source_widget ?
-           GTK_OBJECT_TYPE_NAME (source_widget) :
+           G_OBJECT_TYPE_NAME (source_widget) :
            "NULL");
 
   typedef std::list<Glib::ustring> type_targets;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]