[gtk+] Drop macro wrappers for get_version functions
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop macro wrappers for get_version functions
- Date: Sat, 19 Nov 2016 17:29:15 +0000 (UTC)
commit c9c391bd55c23b1b3733ebe88be5db5a1a1b819d
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Nov 19 12:27:57 2016 -0500
Drop macro wrappers for get_version functions
These are not really useful, and were added long ago
as a clutch for transitioning to the new names.
docs/reference/gtk/gtk4-sections.txt | 5 -----
gtk/gtkmain.h | 6 ------
2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 5509d7c..87b400e 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4940,11 +4940,6 @@ gtk_get_micro_version
gtk_get_binary_age
gtk_get_interface_age
gtk_check_version
-gtk_major_version
-gtk_minor_version
-gtk_micro_version
-gtk_binary_age
-gtk_interface_age
<SUBSECTION>
GTK_MAJOR_VERSION
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index 47de9b6..3dfcc6c 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -63,12 +63,6 @@ guint gtk_get_binary_age (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
guint gtk_get_interface_age (void) G_GNUC_CONST;
-#define gtk_major_version gtk_get_major_version ()
-#define gtk_minor_version gtk_get_minor_version ()
-#define gtk_micro_version gtk_get_micro_version ()
-#define gtk_binary_age gtk_get_binary_age ()
-#define gtk_interface_age gtk_get_interface_age ()
-
GDK_AVAILABLE_IN_ALL
const gchar* gtk_check_version (guint required_major,
guint required_minor,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]