[libgd] Remove GdStack and GdStackSwitcher
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] Remove GdStack and GdStackSwitcher
- Date: Sat, 26 Nov 2016 09:45:13 +0000 (UTC)
commit afd9fad60a732a138033b872bd279b05a0e9b6c4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Nov 26 10:28:19 2016 +0100
Remove GdStack and GdStackSwitcher
These days people can just use GtkStack and GtkStackSwitcher.
.gitignore | 1 -
Makefile.am | 21 -
README | 2 -
libgd.m4 | 7 -
libgd/gd-stack-switcher.c | 377 ------------
libgd/gd-stack-switcher.h | 66 ---
libgd/gd-stack.c | 1419 ---------------------------------------------
libgd/gd-stack.h | 85 ---
libgd/gd-types-catalog.c | 10 -
libgd/gd.h | 5 -
test-stack.c | 177 ------
11 files changed, 0 insertions(+), 2170 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c61e421..998e706 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,7 +8,6 @@ Gd-1.0.typelib
gd.gresource.xml
gd-resources.*
test-header-bar
-test-stack
test-tagged-entry
Makefile
Makefile.in
diff --git a/Makefile.am b/Makefile.am
index 77df6f9..425f1f7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -152,27 +152,6 @@ nodist_libgd_la_SOURCES += $(notification_sources)
EXTRA_DIST += $(notification_sources)
endif
-if LIBGD_STACK
-stack_sources = \
- libgd/gd-stack.c \
- libgd/gd-stack.h \
- libgd/gd-stack-switcher.c \
- libgd/gd-stack-switcher.h \
- $(NULL)
-
-nodist_libgd_la_SOURCES += $(stack_sources)
-EXTRA_DIST += $(stack_sources)
-
-noinst_PROGRAMS += test-stack
-test_stack_SOURCES = \
- test-stack.c \
- $(NULL)
-test_stack_LDADD = \
- $(LIBGD_LIBS) \
- libgd.la \
- $(NULL)
-endif
-
if LIBGD_TAGGED_ENTRY
tagged_entry_resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir)/libgd
--generate-dependencies $(srcdir)/libgd/gd-tagged-entry.gresource.xml)
libgd/gd-tagged-entry-resources.c: libgd/gd-tagged-entry.gresource.xml $(tagged_entry_resource_files)
libgd/gd-tagged-entry-resources.h
diff --git a/README b/README
index 0815c86..a44978f 100644
--- a/README
+++ b/README
@@ -103,8 +103,6 @@ LIBGD_INIT options
- notification
-- stack
-
- static
- tagged-entry
diff --git a/libgd.m4 b/libgd.m4
index 87d9855..02a3e30 100644
--- a/libgd.m4
+++ b/libgd.m4
@@ -98,13 +98,6 @@ AC_DEFUN([LIBGD_INIT], [
AC_DEFINE([LIBGD_NOTIFICATION], [1], [Description])
])
- # stack:
- AM_CONDITIONAL([LIBGD_STACK],[_LIBGD_IF_OPTION_SET([stack],[true],[false])])
- _LIBGD_IF_OPTION_SET([stack],[
- _LIBGD_SET_OPTION([_header-button])
- AC_DEFINE([LIBGD_STACK], [1], [Description])
- ])
-
# tagged-entry: Gtk+ widget
AM_CONDITIONAL([LIBGD_TAGGED_ENTRY],[_LIBGD_IF_OPTION_SET([tagged-entry],[true],[false])])
_LIBGD_IF_OPTION_SET([tagged-entry],[
diff --git a/libgd/gd-types-catalog.c b/libgd/gd-types-catalog.c
index 25a25d5..f774ceb 100644
--- a/libgd/gd-types-catalog.c
+++ b/libgd/gd-types-catalog.c
@@ -66,11 +66,6 @@
# include "gd-notification.h"
#endif
-#ifdef LIBGD_STACK
-# include "gd-stack.h"
-# include "gd-stack-switcher.h"
-#endif
-
/**
* gd_ensure_types:
*
@@ -125,10 +120,5 @@ gd_ensure_types (void)
#ifdef LIBGD_NOTIFICATION
g_type_ensure (GD_TYPE_NOTIFICATION);
#endif
-
-#ifdef LIBGD_STACK
- g_type_ensure (GD_TYPE_STACK);
- g_type_ensure (GD_TYPE_STACK_SWITCHER);
-#endif
}
diff --git a/libgd/gd.h b/libgd/gd.h
index ce5b4e8..ec8aa58 100644
--- a/libgd/gd.h
+++ b/libgd/gd.h
@@ -78,11 +78,6 @@ G_BEGIN_DECLS
# include <libgd/gd-notification.h>
#endif
-#ifdef LIBGD_STACK
-# include <libgd/gd-stack.h>
-# include <libgd/gd-stack-switcher.h>
-#endif
-
G_END_DECLS
#endif /* __GD_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]