[gtkmm-documentation] Adapt to the Socket API change.



commit 72c09e558127b4973834e1d7cfd6f58183c83ae9
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Feb 2 11:38:11 2011 +0100

    Adapt to the Socket API change.
    
    	* examples/book/socket/socket.cc: Use ::Window instead of Gdk::NativeWindow.

 ChangeLog                      |    6 ++++++
 examples/book/socket/socket.cc |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 87ce6cf..ffc64ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-02  Murray Cumming  <murrayc murrayc com>
+
+	Adapt to the Socket API change.
+
+	* examples/book/socket/socket.cc: Use ::Window instead of Gdk::NativeWindow.
+
 2011-02-01  Murray Cumming  <murrayc murrayc com>
 
 	Use Gtk::IconSet via RefPtr.
diff --git a/examples/book/socket/socket.cc b/examples/book/socket/socket.cc
index ebe5f94..b0a0370 100644
--- a/examples/book/socket/socket.cc
+++ b/examples/book/socket/socket.cc
@@ -31,7 +31,7 @@ class MySocketWindow : public Gtk::Window
         add(*socket);
         socket->signal_plug_added().connect(sigc::ptr_fun(plug_added));
         socket->signal_plug_removed().connect(sigc::ptr_fun(plug_removed));
-        Gdk::NativeWindow plug_id;
+        ::Window plug_id = 0;
         infile >> plug_id;
         infile.close();
         socket->add_id(plug_id);



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