[uniquemm] Fix the get_screen. Fix the example.
- From: Fabien Parent <fparent src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [uniquemm] Fix the get_screen. Fix the example.
- Date: Tue, 27 Apr 2010 19:21:12 +0000 (UTC)
commit ba4bd667c4faf8fea4c716731ef3138d880ed386
Author: Fabien Parent <parent f gmail com>
Date: Tue Apr 27 21:20:37 2010 +0200
Fix the get_screen.
Fix the example.
examples/unique.cc | 2 +-
unique/src/message.hg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/unique.cc b/examples/unique.cc
index 07a857b..cb77faa 100644
--- a/examples/unique.cc
+++ b/examples/unique.cc
@@ -38,7 +38,7 @@ Unique::Response on_message_received(int command, Unique::MessageData message_da
Glib::ustring message;
std::vector<Glib::ustring> uris;
- std::cout //<< "Message received from screen: " << message_data.get_screen()->get_number()
+ std::cout << "Message received from screen: " << message_data.get_screen()->get_number()
<< ", startup-id: " << message_data.get_startup_id()
<< ", workspace: " << message_data.get_workspace()
<< std::endl;
diff --git a/unique/src/message.hg b/unique/src/message.hg
index 76af3ae..6945725 100644
--- a/unique/src/message.hg
+++ b/unique/src/message.hg
@@ -128,7 +128,7 @@ public:
*
* @return a Glib::RefPtr<Gdk::Screen>
*/
-#m4 _CONVERSION(`GdkScreen', `Glib::RefPtr<Gdk::Screen>', Glib::wrap($3, true))
+#m4 _CONVERSION(`GdkScreen*', `Glib::RefPtr<Gdk::Screen>', Glib::wrap($3, true))
_WRAP_METHOD(Glib::RefPtr<Gdk::Screen> get_screen() const, unique_message_data_get_screen)
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]