[gtkmm] Change some newin annotations to newin{3,24}
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Change some newin annotations to newin{3,24}
- Date: Thu, 8 Nov 2018 18:25:41 +0000 (UTC)
commit 107bc4e78224b25afed515d6dd7d7c70e4691279
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu Nov 8 19:23:06 2018 +0100
Change some newin annotations to newin{3,24}
Some API that was first added to a 3.9x release have now been included
in gtkmm 3.24.0.
gdk/gdkmm/general.h | 8 ++++----
gdk/src/frameclock.hg | 2 +-
gdk/src/frametimings.hg | 2 +-
gdk/src/glcontext.hg | 2 +-
gdk/src/surface.hg | 4 ++--
gtk/src/aboutdialog.hg | 2 +-
gtk/src/filechoosernative.hg | 16 ++++++++--------
gtk/src/nativedialog.hg | 36 ++++++++++++++++++------------------
gtk/src/widget.hg | 10 +++++-----
gtk/src/window.hg | 2 +-
10 files changed, 42 insertions(+), 42 deletions(-)
---
diff --git a/gdk/gdkmm/general.h b/gdk/gdkmm/general.h
index 72b7ae2c..1377e60a 100644
--- a/gdk/gdkmm/general.h
+++ b/gdk/gdkmm/general.h
@@ -81,7 +81,7 @@ void add_region_to_path(const ::Cairo::RefPtr< ::Cairo::Context >& context, cons
* @returns <tt>true</tt> if a clip rectangle exists, <tt>false</tt> if all
* of @a context is clipped and all drawing can be skipped.
*
- * @newin{3,92}
+ * @newin{3,24}
*/
bool get_clip_rectangle(const ::Cairo::RefPtr< ::Cairo::Context >& context, Gdk::Rectangle& rectangle);
@@ -91,7 +91,7 @@ bool get_clip_rectangle(const ::Cairo::RefPtr< ::Cairo::Context >& context, Gdk:
* @returns <tt>true</tt> if a clip rectangle exists, <tt>false</tt> if all
* of @a context is clipped and all drawing can be skipped.
*
- * @newin{3,92}
+ * @newin{3,24}
*/
bool get_clip_rectangle(const ::Cairo::RefPtr< ::Cairo::Context >& context);
@@ -104,7 +104,7 @@ bool get_clip_rectangle(const ::Cairo::RefPtr< ::Cairo::Context >& context);
* @param surface A cairo surface.
* @returns A cairo region.
*
- * @newin{3,92}
+ * @newin{3,24}
*/
::Cairo::RefPtr< ::Cairo::Region> create_region_from_surface(const ::Cairo::RefPtr< ::Cairo::Surface>&
surface);
@@ -136,7 +136,7 @@ bool get_clip_rectangle(const ::Cairo::RefPtr< ::Cairo::Context >& context);
* @param width The width of the region to draw.
* @param height The height of the region to draw.
*
- * @newin{3,92}
+ * @newin{3,24}
*/
void draw_from_gl(const ::Cairo::RefPtr< ::Cairo::Context >& context,
const Glib::RefPtr<Gdk::Surface>& surface, int source, int source_type,
diff --git a/gdk/src/frameclock.hg b/gdk/src/frameclock.hg
index 1cededa4..10d3bf0c 100644
--- a/gdk/src/frameclock.hg
+++ b/gdk/src/frameclock.hg
@@ -62,7 +62,7 @@ namespace Gdk
* and the value inside the signal_update() signal of the clock,
* they will stay exactly synchronized.
*
- * @newin{3,94}
+ * @newin{3,24}
*/
class FrameClock : public Glib::Object
{
diff --git a/gdk/src/frametimings.hg b/gdk/src/frametimings.hg
index cc35bf59..ef286f1b 100644
--- a/gdk/src/frametimings.hg
+++ b/gdk/src/frametimings.hg
@@ -34,7 +34,7 @@ namespace Gdk
* of video with the event or audio streams, and for measuring
* quality metrics for the application’s display, such as latency and jitter.
*
- * @newin{3,94}
+ * @newin{3,24}
*/
class FrameTimings final
{
diff --git a/gdk/src/glcontext.hg b/gdk/src/glcontext.hg
index 47eb61cf..5a71c47f 100644
--- a/gdk/src/glcontext.hg
+++ b/gdk/src/glcontext.hg
@@ -81,7 +81,7 @@ public:
* GDK will attempt to automatically detect whether the underlying
* GL implementation is OpenGL or OpenGL ES once the %GLContext is realized.
*
- * @newin{3,92}
+ * @newin{3,24}
*/
void unset_use_es();
diff --git a/gdk/src/surface.hg b/gdk/src/surface.hg
index d9ecc68d..0a87a7c2 100644
--- a/gdk/src/surface.hg
+++ b/gdk/src/surface.hg
@@ -273,8 +273,8 @@ public:
_WRAP_METHOD(void set_support_multidevice(bool support_multidevice = true),
gdk_surface_set_support_multidevice)
_WRAP_METHOD(bool get_support_multidevice(), gdk_surface_get_support_multidevice)
- _WRAP_METHOD(Glib::RefPtr<FrameClock> get_frame_clock(), gdk_surface_get_frame_clock, refreturn, newin
"3,94")
- _WRAP_METHOD(Glib::RefPtr<const FrameClock> get_frame_clock() const, gdk_surface_get_frame_clock,
refreturn, constversion, newin "3,94")
+ _WRAP_METHOD(Glib::RefPtr<FrameClock> get_frame_clock(), gdk_surface_get_frame_clock, refreturn, newin
"3,24")
+ _WRAP_METHOD(Glib::RefPtr<const FrameClock> get_frame_clock() const, gdk_surface_get_frame_clock,
refreturn, constversion, newin "3,24")
_WRAP_METHOD(void set_opaque_region(const ::Cairo::RefPtr<const ::Cairo::Region>& region),
gdk_surface_set_opaque_region)
diff --git a/gtk/src/aboutdialog.hg b/gtk/src/aboutdialog.hg
index 355d2e01..b072fcb6 100644
--- a/gtk/src/aboutdialog.hg
+++ b/gtk/src/aboutdialog.hg
@@ -59,7 +59,7 @@ public:
* @param use_header_bar <tt>true</tt> if the dialog shall use a HeaderBar
* for action buttons instead of the action-area.
*
- * @newin{3,90}
+ * @newin{3,24}
*/
explicit AboutDialog(bool use_header_bar);
diff --git a/gtk/src/filechoosernative.hg b/gtk/src/filechoosernative.hg
index 1a0f46fd..b213f0bf 100644
--- a/gtk/src/filechoosernative.hg
+++ b/gtk/src/filechoosernative.hg
@@ -100,7 +100,7 @@ class Window;
* * Any Gtk::FileFilter added with a custom filter.
*
* @see Gtk::FileChooser, Gtk::NativeDialog, Gtk::FileChooserDialog
- * @newin{3,92}
+ * @newin{3,24}
*/
class FileChooserNative : public NativeDialog, public FileChooser
{
@@ -128,7 +128,7 @@ protected:
public:
/** Creates a %FileChooserNative.
*
- * @newin{3,92}
+ * @newin{3,24}
*
* @param title Title of the native.
* @param parent Transient parent of the native.
@@ -141,13 +141,13 @@ public:
FileChooser::Action action, const Glib::ustring& accept_label = Glib::ustring(),
const Glib::ustring& cancel_label = Glib::ustring())
- _WRAP_METHOD(Glib::ustring get_accept_label() const, gtk_file_chooser_native_get_accept_label, newin
"3,92")
- _WRAP_METHOD(void set_accept_label(const Glib::ustring& accept_label{NULL} = Glib::ustring()),
gtk_file_chooser_native_set_accept_label, newin "3,92")
- _WRAP_METHOD(Glib::ustring get_cancel_label() const, gtk_file_chooser_native_get_cancel_label, newin
"3,92")
- _WRAP_METHOD(void set_cancel_label(const Glib::ustring& cancel_label{NULL} = Glib::ustring()),
gtk_file_chooser_native_set_cancel_label, newin "3,92")
+ _WRAP_METHOD(Glib::ustring get_accept_label() const, gtk_file_chooser_native_get_accept_label, newin
"3,24")
+ _WRAP_METHOD(void set_accept_label(const Glib::ustring& accept_label{NULL} = Glib::ustring()),
gtk_file_chooser_native_set_accept_label, newin "3,24")
+ _WRAP_METHOD(Glib::ustring get_cancel_label() const, gtk_file_chooser_native_get_cancel_label, newin
"3,24")
+ _WRAP_METHOD(void set_cancel_label(const Glib::ustring& cancel_label{NULL} = Glib::ustring()),
gtk_file_chooser_native_set_cancel_label, newin "3,24")
- _WRAP_PROPERTY("accept-label", Glib::ustring, newin "3,92")
- _WRAP_PROPERTY("cancel-label", Glib::ustring, newin "3,92")
+ _WRAP_PROPERTY("accept-label", Glib::ustring, newin "3,24")
+ _WRAP_PROPERTY("cancel-label", Glib::ustring, newin "3,24")
// FileChooserNative has no signals
};
diff --git a/gtk/src/nativedialog.hg b/gtk/src/nativedialog.hg
index 8e0aec55..20b86a99 100644
--- a/gtk/src/nativedialog.hg
+++ b/gtk/src/nativedialog.hg
@@ -41,7 +41,7 @@ class Window;
* similar to Dialog::run().
*
* @see Gtk::FileChooserNative, Gtk::Dialog
- * @newin{3,92}
+ * @newin{3,24}
*/
class NativeDialog : public Glib::Object
{
@@ -57,33 +57,33 @@ protected:
public:
// No create() because only derived classes shall be instantiated.
- _WRAP_METHOD(void show(), gtk_native_dialog_show, newin "3,92")
- _WRAP_METHOD(void hide(), gtk_native_dialog_hide, newin "3,92")
- _WRAP_METHOD(bool get_visible() const, gtk_native_dialog_get_visible, newin "3,92")
- _WRAP_METHOD(void set_modal(bool modal = true), gtk_native_dialog_set_modal, newin "3,92")
- _WRAP_METHOD(bool get_modal() const, gtk_native_dialog_get_modal, newin "3,92")
- _WRAP_METHOD(void set_title(const Glib::ustring& title), gtk_native_dialog_set_title, newin "3,92")
- _WRAP_METHOD(Glib::ustring get_title() const, gtk_native_dialog_get_title, newin "3,92")
+ _WRAP_METHOD(void show(), gtk_native_dialog_show, newin "3,24")
+ _WRAP_METHOD(void hide(), gtk_native_dialog_hide, newin "3,24")
+ _WRAP_METHOD(bool get_visible() const, gtk_native_dialog_get_visible, newin "3,24")
+ _WRAP_METHOD(void set_modal(bool modal = true), gtk_native_dialog_set_modal, newin "3,24")
+ _WRAP_METHOD(bool get_modal() const, gtk_native_dialog_get_modal, newin "3,24")
+ _WRAP_METHOD(void set_title(const Glib::ustring& title), gtk_native_dialog_set_title, newin "3,24")
+ _WRAP_METHOD(Glib::ustring get_title() const, gtk_native_dialog_get_title, newin "3,24")
- _WRAP_METHOD(void set_transient_for(Window& parent), gtk_native_dialog_set_transient_for, newin "3,92")
+ _WRAP_METHOD(void set_transient_for(Window& parent), gtk_native_dialog_set_transient_for, newin "3,24")
/** Unsets the current transient window.
* @see set_transient_for().
- * @newin{3,92}
+ * @newin{3,24}
*/
void unset_transient_for();
- _WRAP_METHOD(Window* get_transient_for(), gtk_native_dialog_get_transient_for, newin "3,92")
- _WRAP_METHOD(const Window* get_transient_for() const, gtk_native_dialog_get_transient_for, constversion,
newin "3,92")
+ _WRAP_METHOD(Window* get_transient_for(), gtk_native_dialog_get_transient_for, newin "3,24")
+ _WRAP_METHOD(const Window* get_transient_for() const, gtk_native_dialog_get_transient_for, constversion,
newin "3,24")
- _WRAP_METHOD(int run(), gtk_native_dialog_run, newin "3,92")
+ _WRAP_METHOD(int run(), gtk_native_dialog_run, newin "3,24")
- _WRAP_PROPERTY("title", Glib::ustring, newin "3,92")
- _WRAP_PROPERTY("modal", bool, newin "3,92")
- _WRAP_PROPERTY("visible", bool, newin "3,92")
- _WRAP_PROPERTY("transient_for", Window*, newin "3,92")
+ _WRAP_PROPERTY("title", Glib::ustring, newin "3,24")
+ _WRAP_PROPERTY("modal", bool, newin "3,24")
+ _WRAP_PROPERTY("visible", bool, newin "3,24")
+ _WRAP_PROPERTY("transient_for", Window*, newin "3,24")
- _WRAP_SIGNAL(void response(int response_id), "response", newin "3,92")
+ _WRAP_SIGNAL(void response(int response_id), "response", newin "3,24")
};
} // namespace Gtk
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index 6e50047c..3d8b9d8d 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -459,8 +459,8 @@ public:
_WRAP_METHOD(void queue_resize_no_redraw(), gtk_widget_queue_resize_no_redraw)
- _WRAP_METHOD(Glib::RefPtr<Gdk::FrameClock> get_frame_clock(), gtk_widget_get_frame_clock, refreturn, newin
"3,94")
- _WRAP_METHOD(Glib::RefPtr<const Gdk::FrameClock> get_frame_clock()const, gtk_widget_get_frame_clock,
refreturn, constversion, newin "3,94")
+ _WRAP_METHOD(Glib::RefPtr<Gdk::FrameClock> get_frame_clock(), gtk_widget_get_frame_clock, refreturn, newin
"3,24")
+ _WRAP_METHOD(Glib::RefPtr<const Gdk::FrameClock> get_frame_clock()const, gtk_widget_get_frame_clock,
refreturn, constversion, newin "3,24")
//Used when implementing containers:
_WRAP_METHOD(void set_parent(Widget& parent), gtk_widget_set_parent)
@@ -500,7 +500,7 @@ public:
* @return <tt>true</tt> if the tick callback should continue to be called,
* <tt>false</tt> if the tick callback should be removed.
*
- * @newin{3,94}
+ * @newin{3,24}
*/
using SlotTick = sigc::slot<bool(const Glib::RefPtr<Gdk::FrameClock>&)>;
@@ -526,7 +526,7 @@ public:
* Gdk::FrameClock::signal_update() signal of Gdk::FrameClock, since you don't
* have to worry about when a Gdk::FrameClock is assigned to a widget.
*
- * @newin{3,94}
+ * @newin{3,24}
*
* @param slot Slot to call for updating animations.
* @return An id for the connection of this callback. Remove the callback
@@ -535,7 +535,7 @@ public:
guint add_tick_callback(const SlotTick& slot);
_IGNORE(gtk_widget_add_tick_callback)
- _WRAP_METHOD(void remove_tick_callback(guint id), gtk_widget_remove_tick_callback, newin "3,94")
+ _WRAP_METHOD(void remove_tick_callback(guint id), gtk_widget_remove_tick_callback, newin "3,24")
//This is mostly only needed by the class itself, so it could be protected,
//but it is sometimes helpful to call it from outside:
diff --git a/gtk/src/window.hg b/gtk/src/window.hg
index 7aa97b8b..c3cb85bc 100644
--- a/gtk/src/window.hg
+++ b/gtk/src/window.hg
@@ -340,7 +340,7 @@ dnl
_WRAP_METHOD(bool is_maximized() const, gtk_window_is_maximized)
// from gtk/gtkshow.h:
- _WRAP_METHOD(void show_uri(const Glib::ustring& uri, guint32 timestamp), gtk_show_uri_on_window, errthrow,
newin "3,92")
+ _WRAP_METHOD(void show_uri(const Glib::ustring& uri, guint32 timestamp), gtk_show_uri_on_window, errthrow,
newin "3,24")
/** Gets a vector containing each Gtk::AccelGroup associated with the window.
* @newin{3,24}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]