[gtkmm-documentation] ComboBox and custom container examples: GTKMM_CHECK_VERSION(4, 7, 1)



commit 64bbb4598e7a6c4cd3ce9e301951b24907de12a4
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Thu Aug 4 16:51:23 2022 +0200

    ComboBox and custom container examples: GTKMM_CHECK_VERSION(4,7,1)
    
    Gtk::Entry::signal_activate() and Gtk::Widget::signal_destroy() are
    available in gtkmm >= 4.7.1.

 examples/book/combobox/entry_complex/examplewindow.h | 2 +-
 examples/book/combobox/entry_text/examplewindow.h    | 2 +-
 examples/book/custom/custom_container/mycontainer.h  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/examples/book/combobox/entry_complex/examplewindow.h 
b/examples/book/combobox/entry_complex/examplewindow.h
index 43f59b3..d468355 100644
--- a/examples/book/combobox/entry_complex/examplewindow.h
+++ b/examples/book/combobox/entry_complex/examplewindow.h
@@ -22,7 +22,7 @@
 #include <gtkmm/liststore.h>
 #include <gtkmm/version.h>
 
-#define HAS_SIGNAL_ACTIVATE GTKMM_CHECK_VERSION(4,8,0)
+#define HAS_SIGNAL_ACTIVATE GTKMM_CHECK_VERSION(4,7,1)
 
 class ExampleWindow : public Gtk::Window
 {
diff --git a/examples/book/combobox/entry_text/examplewindow.h 
b/examples/book/combobox/entry_text/examplewindow.h
index 06a336c..c8843a3 100644
--- a/examples/book/combobox/entry_text/examplewindow.h
+++ b/examples/book/combobox/entry_text/examplewindow.h
@@ -21,7 +21,7 @@
 #include <gtkmm/comboboxtext.h>
 #include <gtkmm/version.h>
 
-#define HAS_SIGNAL_ACTIVATE GTKMM_CHECK_VERSION(4,8,0)
+#define HAS_SIGNAL_ACTIVATE GTKMM_CHECK_VERSION(4,7,1)
 
 class ExampleWindow : public Gtk::Window
 {
diff --git a/examples/book/custom/custom_container/mycontainer.h 
b/examples/book/custom/custom_container/mycontainer.h
index 806831c..dfb3ca5 100644
--- a/examples/book/custom/custom_container/mycontainer.h
+++ b/examples/book/custom/custom_container/mycontainer.h
@@ -20,7 +20,7 @@
 #include <gtkmm/widget.h>
 #include <gtkmm/version.h>
 
-#define HAS_SIGNAL_DESTROY GTKMM_CHECK_VERSION(4,8,0)
+#define HAS_SIGNAL_DESTROY GTKMM_CHECK_VERSION(4,7,1)
 
 class MyContainer : public Gtk::Widget
 {


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