[gtk+] Add some missing deprecation annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add some missing deprecation annotations
- Date: Tue, 13 Aug 2013 22:10:39 +0000 (UTC)
commit 1398f8ea4cd998a3228ab743bcea5ff42dce6284
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 13 18:09:47 2013 -0400
Add some missing deprecation annotations
These were reported missing in bug
https://bugzilla.gnome.org/show_bug.cgi?id=705672
gtk/gtkcombobox.h | 8 ++++----
gtk/gtkmenu.c | 4 ++--
gtk/gtkmenu.h | 10 +++++-----
3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h
index cf05b83..c3c8919 100644
--- a/gtk/gtkcombobox.h
+++ b/gtk/gtkcombobox.h
@@ -96,15 +96,15 @@ GDK_AVAILABLE_IN_ALL
void gtk_combo_box_set_column_span_column (GtkComboBox *combo_box,
gint column_span);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
gboolean gtk_combo_box_get_add_tearoffs (GtkComboBox *combo_box);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
void gtk_combo_box_set_add_tearoffs (GtkComboBox *combo_box,
gboolean add_tearoffs);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
const gchar * gtk_combo_box_get_title (GtkComboBox *combo_box);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
void gtk_combo_box_set_title (GtkComboBox *combo_box,
const gchar *title);
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index d0c757f..e0e58b7 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -620,7 +620,7 @@ gtk_menu_class_init (GtkMenuClass *class)
P_("Tearoff Title"),
P_("A title that may be displayed by the window
manager when this menu is torn-off"),
NULL,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE | G_PARAM_DEPRECATED));
/**
* GtkMenu:tearoff-state:
@@ -637,7 +637,7 @@ gtk_menu_class_init (GtkMenuClass *class)
P_("Tearoff State"),
P_("A boolean that indicates whether the menu is
torn-off"),
FALSE,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE | G_PARAM_DEPRECATED));
/**
* GtkMenu:monitor:
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h
index 339717f..bf57cf7 100644
--- a/gtk/gtkmenu.h
+++ b/gtk/gtkmenu.h
@@ -190,19 +190,19 @@ void gtk_menu_detach (GtkMenu *menu);
GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_menu_get_attach_widget (GtkMenu *menu);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
void gtk_menu_set_tearoff_state (GtkMenu *menu,
- gboolean torn_off);
-GDK_AVAILABLE_IN_ALL
+ gboolean torn_off);
+GDK_DEPRECATED_IN_3_10
gboolean gtk_menu_get_tearoff_state (GtkMenu *menu);
/* This sets the window manager title for the window that
* appears when a menu is torn off
*/
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
void gtk_menu_set_title (GtkMenu *menu,
const gchar *title);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
const gchar * gtk_menu_get_title (GtkMenu *menu);
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]