[glibmm] Gio::Application, UnixSocketAddress: Deprecate some properties



commit e9f6f709ef0c5eb49c556dd1d53d0e0f5ef11ac2
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Wed Feb 18 09:37:52 2015 +0100

    Gio::Application, UnixSocketAddress: Deprecate some properties
    
    * gio/src/application.hg: Deprecate property_action_group().
    * gio/src/unixsocketaddress.hg: Deprecate property_abstract().

 gio/src/application.hg       |    4 +---
 gio/src/unixsocketaddress.hg |    4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 48613dc..ab2cfa2 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -1,5 +1,3 @@
-// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-
 /* Copyright (C) 2007 The gtkmm Development Team
  *
  * This library is free software; you can redistribute it and/or
@@ -347,7 +345,7 @@ public:
   _WRAP_METHOD(void send_notification(const Glib::ustring& id{?}, const Glib::RefPtr<Notification>& 
notification), g_application_send_notification)
   _WRAP_METHOD(void withdraw_notification(const Glib::ustring& id), g_application_withdraw_notification)
 
-  _WRAP_PROPERTY("action-group", Glib::RefPtr<ActionGroup>)
+  _WRAP_PROPERTY("action-group", Glib::RefPtr<ActionGroup>, deprecated "Use the Gio::ActionMap interface 
instead.")
   _WRAP_PROPERTY("application-id", Glib::ustring)
   _WRAP_PROPERTY("flags", ApplicationFlags)
   _WRAP_PROPERTY("inactivity-timeout", guint)
diff --git a/gio/src/unixsocketaddress.hg b/gio/src/unixsocketaddress.hg
index 0f009a7..5fe8010 100644
--- a/gio/src/unixsocketaddress.hg
+++ b/gio/src/unixsocketaddress.hg
@@ -1,5 +1,3 @@
-// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-
 /* Copyright (C) 2010 The giomm Development Team
  *
  * This library is free software; you can redistribute it and/or
@@ -82,7 +80,7 @@ public:
 
  _WRAP_METHOD(static bool abstract_names_supported(), g_unix_socket_address_abstract_names_supported)
 
-  _WRAP_PROPERTY("abstract", bool)
+  _WRAP_PROPERTY("abstract", bool, deprecated "Use property_address_type() instead, which distinguishes 
between zero-padded and non-zero-padded abstract addresses.")
   _WRAP_PROPERTY("address-type", UnixSocketAddressType)
   _WRAP_PROPERTY("path", std::string)
   _WRAP_PROPERTY("path-as-array", Glib::RefPtr<ByteArray>)


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