glibmm 2.60.0

Deprecated List

Member Gio::Action::activate (const Glib::VariantBase& parameter)
  Use the templated method instead, passing a normal C++ type.
Member Gio::Action::change_state (const Glib::VariantBase& value)
  Use the templated method instead, passing a normal C++ type.
Member Gio::ActionGroup::get_action_state (const Glib::ustring& action_name) const
  Use the get_action_state() method that takes an output parameter instead.
Member Gio::ActionGroup::get_action_state_hint (const Glib::ustring& action_name) const
  Use the get_action_state() method that takes an output parameter instead.
Member Gio::ActionMap::add_action_with_parameter (const Glib::ustring& name, const ActivateWithParameterSlot& slot)
  This overload does not work as it does not set a parameter type on the Action, so activating it with a parameter cannot work. Use the other add_action_with_parameter() overload, which takes a parameter type.
Member Gio::AppInfo::launch_uris (const Glib::ListHandle< std::string >& uris, GAppLaunchContext* context)
  Use the method that takes an AppLaunchContext
Member Gio::Application::property_action_group ()
  Use the Gio::ActionMap interface instead.
Member Gio::Application::property_resource_base_path ()
  This method has the wrong return type. Will be fixed at the next ABI break. Use property_resource_base_path_string() instead.
Member Gio::Application::property_resource_base_path () const
  This method has the wrong return type. Will be fixed at the next ABI break. Use property_resource_base_path_string() instead.
Member Gio::Application::set_action_group (const Glib::RefPtr< ActionGroup >& action_group)
  Use the Gio::ActionMap interface instead.
Member Gio::AsyncResult::get_source_object ()
  Use get_source_object_base()
Member Gio::AsyncResult::get_source_object () const
  Use get_source_object_base()
Member Gio::DataInputStream::read_until (std::string& data, const std::string& stop_chars, const Glib::RefPtr< Cancellable >& cancellable)
  Use read_upto() instead, which has more consistent behaviour regarding the stop character.
Member Gio::DataInputStream::read_until (std::string& data, const std::string& stop_chars)
  Use read_upto() instead, which has more consistent behaviour regarding the stop character.
Member Gio::DataInputStream::read_until_async (const std::string& stop_chars, const SlotAsyncReady& slot, const Glib::RefPtr< Cancellable >& cancellable, int io_priority=Glib::PRIORITY_DEFAULT)
  Use read_upto_async() instead, which has more consistent behaviour regarding the stop character.
Member Gio::DataInputStream::read_until_finish (const Glib::RefPtr< AsyncResult >& result, std::string& data)
  Use read_upto_finish() instead, which has more consistent behaviour regarding the stop character.
Member Gio::DesktopAppInfo::set_desktop_env (const std::string& desktop_env)
  Do not use this API. Since 2.42 the value of the `XDG_CURRENT_DESKTOP` environment variable will be used.
Member Gio::MemoryInputStream::add_data (const std::string& data)
  Use add_data() with SlotDestroyData or GDestroyNotify instead.
Member Gio::MemoryInputStream::add_data (const void* data, gssize len)
  Use add_data() with SlotDestroyData or GDestroyNotify instead.
Member Gio::MenuItem::get_attribute (const Glib::ustring& attribute, const Glib::VariantType& expected_type) const
  Use get_attribute_value() instead.
Member Gio::MenuItem::set_action_and_target (const Glib::ustring& action)
  Use set_action() or unset_target() instead.
Member Gio::MenuItem::set_attribute (const Glib::ustring& attribute, const Glib::VariantBase& value)
  Use set_attribute() instead.
Member Gio::Notification::set_urgent (bool urgent=true)
  Use set_priority() instead.
Member Gio::Settings::get_enum (const Glib::ustring& key, int value)
  This method is misnamed. Use set_enum() instead.
Member Gio::Settings::get_flags (const Glib::ustring& key, guint value)
  This method is misnamed. Use set_flags() instead.
Member Gio::Settings::list_keys () const
  Use SettingsSchema::list_keys().
Member Gio::Settings::property_schema () const
  Use the 'schema-id' property instead. In a future version, this property may instead refer to a SettingsSchema.
Member Gio::Settings::range_check (const Glib::ustring& key, const Glib::VariantBase& value) const
  Use g_settings_schema_key_range_check() instead.
Member Gio::Settings::set_uiint (const Glib::ustring& key, guint value)
  Use set_uint() instead.
Member Gio::SimpleActionGroup::insert (const Glib::RefPtr< Action >& action)
  Use ActionMap::add_action() instead
Member Gio::SimpleActionGroup::lookup (const Glib::ustring& action_name)
  Use ActionMap::lookup_action() instead
Member Gio::SimpleActionGroup::lookup (const Glib::ustring& action_name) const
  Use ActionMap::lookup_action() instead
Member Gio::SimpleActionGroup::remove (const Glib::ustring& action_name)
  Use ActionMap::remove_action() instead
Member Gio::TlsClientConnection::get_use_ssl3 () const
  SSL 3.0 is insecure, and this function does not actually indicate whether it is enabled.
Member Gio::TlsClientConnection::property_accepted_cas () const
  property_accepted_cas() does not work. Use get_accepted_cas() instead.
Member Gio::TlsClientConnection::property_use_ssl3 ()
  SSL 3.0 is insecure, and this property does not generally enable or disable it, despite its name.
Member Gio::TlsClientConnection::property_use_ssl3 () const
  SSL 3.0 is insecure, and this property does not generally enable or disable it, despite its name.
Member Gio::TlsClientConnection::set_use_ssl3 (bool use_ssl3=true)
  SSL 3.0 is insecure, and this function does not generally enable or disable it, despite its name.
Member Gio::TlsConnection::get_rehandshake_mode () const
  Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.
Member Gio::TlsConnection::get_use_system_certdb () const
  Use get_database() instead.
Member Gio::TlsConnection::property_rehandshake_mode ()
  Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.
Member Gio::TlsConnection::property_rehandshake_mode () const
  Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.
Member Gio::TlsConnection::property_use_system_certdb ()
  Use property_database() instead.
Member Gio::TlsConnection::property_use_system_certdb () const
  Use property_database() instead.
Member Gio::TlsConnection::set_rehandshake_mode (TlsRehandshakeMode mode)
  Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.
Member Gio::TlsConnection::set_use_system_certdb (bool use_system_certdb=true)
  Use set_database() instead.
Member Gio::UnixSocketAddress::property_abstract () const
  Use property_address_type() instead, which distinguishes between zero-padded and non-zero-padded abstract addresses.
Member Gio::VolumeMonitor::adopt_orphan_mount (const Glib::RefPtr< Mount >& mount)
  Instead of using this function, create shadow mounts with the URI of the mount you intend to adopt.
Class Glib::Cond
  Use Glib::Threads::Cond instead.
Member Glib::Date::set_time (GTime time)
  Please use set_time(std::time_t) or set_time(const GTimeVal&).
Member Glib::get_user_special_dir (GUserDirectory directory)
  Use get_user_special_dir(Glib::UserDirectory directory) instead.
Class Glib::HelperList< T_Child, T_CppElement, T_Iterator >
  This class should no longer be necessary.
Member Glib::IOChannel::close_vfunc ()
  Custom Glib::IOChannel implementation was never really supported.
Member Glib::IOChannel::create_watch_vfunc (IOCondition cond)
  Custom Glib::IOChannel implementation was never really supported.
Member Glib::IOChannel::get_flags_vfunc ()
  Custom Glib::IOChannel implementation was never really supported.
Member Glib::IOChannel::read_vfunc (char* buf, gsize count, gsize& bytes_read)
  Custom Glib::IOChannel implementation was never really supported.
Member Glib::IOChannel::seek_vfunc (gint64 offset, SeekType type)
  Custom Glib::IOChannel implementation was never really supported.
Member Glib::IOChannel::set_flags_vfunc (IOFlags flags)
  Custom Glib::IOChannel implementation was never really supported.
Member Glib::IOChannel::write_vfunc (const char* buf, gsize count, gsize& bytes_written)
  Custom Glib::IOChannel implementation was never really supported.
Member Glib::KeyFile::load_from_dirs (const std::string& file, const Glib::ArrayHandle< std::string >& search_dirs, Glib::ArrayHandle< std::string >& full_path, KeyFileFlags flags=Glib::KEY_FILE_NONE)
  Use the load_from_dirs() method that takes a std::string& full_path.
Member Glib::MainContext::wait (Glib::Cond& cond, Glib::Mutex& mutex)
  Use the underlying g_main_context_is_owner() function and separate locking, if you really need this functionality.
Member Glib::MainContext::wait (Glib::Threads::Cond& cond, Glib::Threads::Mutex& mutex)
  Use the underlying g_main_context_is_owner() function and separate locking, if you really need this functionality.
Class Glib::Mutex
  Use Glib::Threads::Mutex instead.
Class Glib::Mutex::Lock
  Use Glib::Threads::Mutex::Lock instead.
Member Glib::NotLock
  Use Glib::Threads::NotLock instead.
Class Glib::Private< T >
  Use Glib::Threads::Private instead.
Class Glib::RecMutex
  Use Glib::Threads::RecMutex instead.
Class Glib::RecMutex::Lock
  Use Glib::Threads::RecMutex instead.
Member Glib::RefPtr< T_CppObject >::clear () noexcept
  Use reset() instead because this leads to confusion with clear() methods on the underlying class.
Class Glib::RWLock
  Use Glib::Threads::RWLock instead.
Class Glib::RWLock::ReaderLock
  Use Glib::Threads::RWLock::ReaderLock instead.
Class Glib::RWLock::WriterLock
  Use Glib::Threads::RWLock::WriterLock instead.
Member Glib::SArray
  Use a std::vector instead.
Member Glib::Source::get_current_time (Glib::TimeVal& current_time)
  Use get_time() instead.
Class Glib::StaticMutex
  Use Glib::Threads::Mutex instead, which can be used statically.
Class Glib::StaticPrivate< T >
  Use Glib::Threads::Private instead, which can be used statically.
Class Glib::StaticRecMutex
  Use Glib::Threads::RecMutex instead, which can be used statically.
Class Glib::StaticRWLock
  Use Glib::Threads::RWLock instead, which can be used statically.
Class Glib::StreamIOChannel
  This whole class was deprecated in glibmm 2.2 - See the Glib::IOChannel documentation for an explanation.
Class Glib::Thread
  Use Glib::Threads::Thread instead.
Member Glib::Thread::create (const sigc::slot< void >& slot, unsigned long stack_size, bool joinable, bool bound, ThreadPriority priority)
  Use the simpler create() method instead, because all Threads are now joinable, and bounds and priority parameters now have no effect.
Class Glib::Thread::Exit
  Use Glib::Threads::Thread::Exit instead.
Member Glib::Thread::get_priority () const
  Thread priorities no longer have any effect.
Member Glib::Thread::joinable () const
  All threads are now joinable.
Member Glib::Thread::set_priority (ThreadPriority priority)
  Thread priorities no longer have any effect.
Member Glib::thread_init (GThreadFunctions* vtable=nullptr)
  Calling thread_init() is no longer necessary and no longer has any effect.
Member Glib::THREAD_PRIORITY_LOW
  Thread priorities no longer have any effect.
Member Glib::thread_supported ()
  This is no longer useful, because the thread system is always initialized.
Class Glib::ThreadError
  Use Glib::Threads::ThreadError instead.
Class Glib::ThreadPool
  This is deprecated in favor of the standard C++ concurrency API in C++11 and C++14.
Namespace Glib::Threads
  The entire Glib::Threads API is deprecated in favor of the standard C++ concurrency API in C++11 and C++14.
Class Glib::Threads::Cond
  Please use std::condition_variable instead.
Class Glib::Threads::Mutex
  Please use std::mutex instead.
Class Glib::Threads::Mutex::Lock
  Please use std::lock_guard or std::unique_lock instead.
Member Glib::Threads::NotLock
  Please use std::lock_guard or std::unique_lock instead.
Class Glib::Threads::Private< T >
  Please use the thread_local keyword instead.
Class Glib::Threads::RecMutex
  Please use std::recursive_mutex instead.
Class Glib::Threads::RecMutex::Lock
  Please use std::lock_guard or std::unique_lock instead.
Class Glib::Threads::RWLock
  Please use std::lock_guard or std::unique_lock instead, with std::shared_timed_mutex.
Class Glib::Threads::RWLock::ReaderLock
  Please use std::lock_guard or std::unique_lock instead, with std::shared_timed_mutex.
Class Glib::Threads::RWLock::WriterLock
  Please use std::lock_guard or std::unique_lock instead, with std::shared_timed_mutex.
Class Glib::Threads::Thread
  Please use std::thread instead.
Class Glib::Threads::Thread::Exit
  Please use std::thread instead.
Class Glib::Threads::ThreadError
  Please use std::lock_guard or std::unique_lock instead.
Member Glib::Threads::TryLock
  Please use std::lock_guard or std::unique_lock instead.
Member Glib::TryLock
  Use Glib::Threads::TryLock instead.
Class Glib::Value< char >
  Use Value<signed char> instead.
Class Glib::ValueArray
  Use std::vector<Glib::ValueBase*> or std::vector< Glib::Value<> > instead of Glib::ValueArray.
Member Glib::VariantBase::BoolExpr
  Use the explicit operator bool() instead.
Member Glib::VariantBase::get_data ()
  Use the const version instead.
Member Glib::VariantBase::operator BoolExpr () const
  Use the explicit operator bool() instead.
Member Glib::VariantType::first () const
  Use get_item_types() instead.
Member Glib::VariantType::next () const
  Use get_item_types() instead.
Member GLIBMM_STATIC_MUTEX_INIT
  Glib::StaticMutex is deprecated in favour of Glib::Threads::Mutex, which can be used statically.
Member GLIBMM_STATIC_PRIVATE_INIT
  Glib::StaticPrivate is deprecated in favour of Glib::Threads::Private, which can be used statically.
Member GLIBMM_STATIC_REC_MUTEX_INIT
  Glib::StaticRecMutex is deprecated in favour of Glib::Threads::RecMutex, which can be used statically.
Member GLIBMM_STATIC_RW_LOCK_INIT
  Glib::StaticRWLock is deprecated in favour of Glib::Threads::RWLock, which can be used statically.
Module ThreadPools
  This is deprecated in favor of the standard C++ concurrency API in C++11 and C++14.
Module Threads

  The entire Glib::Threads API is deprecated in favor of the standard C++ concurrency API in C++11 and C++14.

Member wrap
  Please use std::thread instead.
Member wrap
  Use Glib::Threads::wrap(GThread*) instead.