glibmm: Deprecated List

glibmm 2.46.3

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

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::AppInfo::launch_uris (const Glib::ListHandle< std::string >& uris, GAppLaunchContext* launch_context)
  Use the method that takes an AppLaunchContext
Member Gio::Application::property_action_group ()
  Use the Gio::ActionMap interface 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::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::list_keys () const
  Use SettingsSchema::list_kes().
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::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::TlsConnection::get_use_system_certdb () const
  Use get_database() instead.
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_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. It has not been used by glibmm or gtkmm since gtkmm-2.4.
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 wait(Glib::Threads::Cond& cond, Glib::Threads::Mutex& mutex) instead.
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. For instance, people use .clear() when they mean ->clear().
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.
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::get_data ()
  Use the const version 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.
Member wrap
  Use Glib::Threads::wrap(GThread*) instead.