[glibmm] Notification: Deprecate set_urgent().
- From: Murray Cumming <murrayc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [glibmm] Notification: Deprecate set_urgent().
 
- Date: Mon, 22 Sep 2014 19:56:17 +0000 (UTC)
 
commit 20e9fdace1f1a978c1ed3c9591b9fa29eae5132f
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Sep 22 21:21:14 2014 +0200
    Notification: Deprecate set_urgent().
    
    Using the same uninformative deprecation message that the C API has.
 gio/src/notification.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/src/notification.hg b/gio/src/notification.hg
index 674bd4e..b2a891f 100644
--- a/gio/src/notification.hg
+++ b/gio/src/notification.hg
@@ -67,7 +67,7 @@ public:
   _WRAP_METHOD(void set_title(const Glib::ustring& title), g_notification_set_title)
   _WRAP_METHOD(void set_body(const Glib::ustring& body), g_notification_set_body)
   _WRAP_METHOD(void set_icon(const Glib::RefPtr<Icon>& icon), g_notification_set_icon)
-  _WRAP_METHOD(void set_urgent(bool urgent = true), g_notification_set_urgent)
+  _WRAP_METHOD(void set_urgent(bool urgent = true), g_notification_set_urgent, deprecated "This should not 
be used in newly-written code.")
 
   _WRAP_METHOD(void add_button(const Glib::ustring& label, const Glib::ustring& detailed_action), 
g_notification_add_button)
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]