[gtkmm/gtkmm-3-22] Gtk::Widget: Deprecate is_composited() and signal_composited_changed()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-3-22] Gtk::Widget: Deprecate is_composited() and signal_composited_changed()
- Date: Sat, 5 Nov 2016 09:55:18 +0000 (UTC)
commit f34e150f3a537ccd47001dd7d953a07b572a74a2
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Sat Nov 5 10:52:55 2016 +0100
Gtk::Widget: Deprecate is_composited() and signal_composited_changed()
because they are deprecated in gtk+-3. Bug #773642.
gtk/src/widget.hg | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index f778b5a..0147738 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -624,7 +624,8 @@ _DEPRECATE_IFDEF_END
int get_width() const;
int get_height() const;
- _WRAP_METHOD(bool is_composited() const, gtk_widget_is_composited)
+ _WRAP_METHOD(bool is_composited() const, gtk_widget_is_composited,
+ deprecated "Use Gdk::Screen::is_composited() instead.")
_WRAP_METHOD(bool in_destruction() const, gtk_widget_in_destruction)
@@ -792,7 +793,8 @@ dnl
_CONVERSION(`GdkScreen*',`const Glib::RefPtr<Gdk::Screen>&',`Glib::wrap($3, true)')
_WRAP_SIGNAL(void screen_changed(const Glib::RefPtr<Gdk::Screen>& previous_screen), "screen_changed")
- _WRAP_SIGNAL(void composited_changed(), "composited_changed", no_default_handler)
+ _WRAP_SIGNAL(void composited_changed(), "composited_changed", no_default_handler,
+ deprecated "Use Gdk::Screen::signal_composited_changed() instead.")
//TODO: The signal_id is very C-like here:
//_WRAP_SIGNAL(bool can_activate_accel(guint signal_id), "can_activate_accel")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]