[gtk+/wip/baedert/box] Remove GtkRecentAction
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/box] Remove GtkRecentAction
- Date: Sun, 16 Oct 2016 17:36:30 +0000 (UTC)
commit ffa022984a154cfb1ffacec859df2bcc0f915b13
Author: Timm Bäder <mail baedert org>
Date: Sun Oct 16 19:35:49 2016 +0200
Remove GtkRecentAction
docs/reference/gtk/gtk4-sections.txt | 20 -
gtk/deprecated/Makefile.inc | 2 -
gtk/deprecated/gtkrecentaction.c | 830 ----------------------------------
gtk/deprecated/gtkrecentaction.h | 83 ----
gtk/gtk.h | 1 -
gtk/gtkrecentchooser.c | 1 -
tests/testactions.c | 11 -
testsuite/gtk/notify.c | 5 -
8 files changed, 0 insertions(+), 953 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 313fe3f..0c128ee 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -2672,26 +2672,6 @@ gtk_recent_manager_error_quark
</SECTION>
<SECTION>
-<FILE>gtkrecentaction</FILE>
-<TITLE>GtkRecentAction</TITLE>
-GtkRecentAction
-gtk_recent_action_new
-gtk_recent_action_new_for_manager
-gtk_recent_action_get_show_numbers
-gtk_recent_action_set_show_numbers
-<SUBSECTION Standard>
-GTK_TYPE_RECENT_ACTION
-GTK_RECENT_ACTION
-GTK_IS_RECENT_ACTION
-GTK_RECENT_ACTION_CLASS
-GTK_IS_RECENT_ACTION_CLASS
-GTK_RECENT_ACTION_GET_CLASS
-<SUBSECTION Private>
-GtkRecentActionPrivate
-gtk_recent_action_get_type
-</SECTION>
-
-<SECTION>
<FILE>gtkscale</FILE>
<TITLE>GtkScale</TITLE>
GtkScale
diff --git a/gtk/deprecated/Makefile.inc b/gtk/deprecated/Makefile.inc
index c3809b4..0318154 100644
--- a/gtk/deprecated/Makefile.inc
+++ b/gtk/deprecated/Makefile.inc
@@ -2,7 +2,6 @@ deprecated_h_sources = \
deprecated/gtkaction.h \
deprecated/gtkactiongroup.h \
deprecated/gtkgradient.h \
- deprecated/gtkrecentaction.h \
deprecated/gtksymboliccolor.h
deprecated_private_h_sources = \
@@ -13,5 +12,4 @@ deprecated_c_sources = \
deprecated/gtkaction.c \
deprecated/gtkactiongroup.c \
deprecated/gtkgradient.c \
- deprecated/gtkrecentaction.c \
deprecated/gtksymboliccolor.c
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 6a6b9cf..8724718 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -247,7 +247,6 @@
#include <gtk/deprecated/gtkaction.h>
#include <gtk/deprecated/gtkactiongroup.h>
#include <gtk/deprecated/gtkgradient.h>
-#include <gtk/deprecated/gtkrecentaction.h>
#include <gtk/deprecated/gtksymboliccolor.h>
#endif /* GTK_DISABLE_DEPRECATED */
diff --git a/gtk/gtkrecentchooser.c b/gtk/gtkrecentchooser.c
index 738a0d3..828c64c 100644
--- a/gtk/gtkrecentchooser.c
+++ b/gtk/gtkrecentchooser.c
@@ -22,7 +22,6 @@
#include "gtkrecentchooser.h"
#include "gtkrecentchooserprivate.h"
#include "gtkrecentmanager.h"
-#include "deprecated/gtkrecentaction.h"
#include "gtkintl.h"
#include "gtktypebuiltins.h"
#include "gtkprivate.h"
diff --git a/tests/testactions.c b/tests/testactions.c
index 02f65fd..20065df 100644
--- a/tests/testactions.c
+++ b/tests/testactions.c
@@ -199,21 +199,10 @@ main (int argc, char **argv)
if (g_file_test ("accels", G_FILE_TEST_IS_REGULAR))
gtk_accel_map_load ("accels");
- action = gtk_recent_action_new ("recent",
- "Open Recent", "Open recent files",
- NULL);
- g_signal_connect (action, "item-activated",
- G_CALLBACK (recent_action),
- NULL);
- g_signal_connect (action, "activate",
- G_CALLBACK (recent_action),
- NULL);
-
action_group = gtk_action_group_new ("TestActions");
gtk_action_group_add_actions (action_group,
entries, n_entries,
NULL);
- gtk_action_group_add_action_with_accel (action_group, action, NULL);
create_window (action_group);
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index c8eb0a9..de12a95 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -492,11 +492,6 @@ test_type (gconstpointer data)
g_str_equal (pspec->name, "draw-indicator"))
continue;
- /* Not supported in subclass */
- if (g_str_equal (g_type_name (type), "GtkRecentAction") &&
- g_str_equal (pspec->name, "select-multiple"))
- continue;
-
if (g_str_equal (g_type_name (type), "GtkRecentChooserMenu") &&
g_str_equal (pspec->name, "select-multiple"))
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]