[libgd] Remove GdHeaderBar



commit 73e739dcc31f73c793c0d1af05b5c1aa0d607f69
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Nov 26 10:31:50 2016 +0100

    Remove GdHeaderBar
    
    These days people can just use GtkHeaderBar.

 .gitignore               |    1 -
 Makefile.am              |   19 -
 README                   |    2 -
 libgd.m4                 |    7 -
 libgd/gd-header-bar.c    | 1350 ----------------------------------------------
 libgd/gd-header-bar.h    |   75 ---
 libgd/gd-types-catalog.c |    8 -
 libgd/gd.h               |    4 -
 test-header-bar.c        |   71 ---
 9 files changed, 0 insertions(+), 1537 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 998e706..ee79f34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,7 +7,6 @@ Gd-1.0.gir
 Gd-1.0.typelib
 gd.gresource.xml
 gd-resources.*
-test-header-bar
 test-tagged-entry
 Makefile
 Makefile.in
diff --git a/Makefile.am b/Makefile.am
index 425f1f7..f03b6f9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -103,25 +103,6 @@ nodist_libgd_la_SOURCES += $(main_toolbar_sources)
 EXTRA_DIST += $(main_toolbar_sources)
 endif
 
-if LIBGD_HEADER_BAR
-header_bar_sources =                           \
-       libgd/gd-header-bar.c                   \
-       libgd/gd-header-bar.h                   \
-       $(NULL)
-
-nodist_libgd_la_SOURCES += $(header_bar_sources)
-EXTRA_DIST += $(header_bar_sources)
-
-noinst_PROGRAMS += test-header-bar
-test_header_bar_SOURCES =                      \
-       test-header-bar.c                       \
-       $(NULL)
-test_header_bar_LDADD =                                \
-       $(LIBGD_LIBS)                           \
-       libgd.la                                \
-       $(NULL)
-endif
-
 if LIBGD__HEADER_BUTTON
 header_button_sources =                                \
        libgd/gd-header-button.c                \
diff --git a/README b/README
index a44978f..3247fc9 100644
--- a/README
+++ b/README
@@ -93,8 +93,6 @@ LIBGD_INIT options
 
 - gtk-hacks
 
-- header-bar
-
 - main-icon-view
 
 - main-toolbar
diff --git a/libgd.m4 b/libgd.m4
index 02a3e30..26c2d4b 100644
--- a/libgd.m4
+++ b/libgd.m4
@@ -79,13 +79,6 @@ AC_DEFUN([LIBGD_INIT], [
         AC_DEFINE([LIBGD_MAIN_TOOLBAR], [1], [Description])
     ])
 
-    # header-bar:
-    AM_CONDITIONAL([LIBGD_HEADER_BAR],[_LIBGD_IF_OPTION_SET([header-bar],[true],[false])])
-    _LIBGD_IF_OPTION_SET([header-bar],[
-        _LIBGD_SET_OPTION([_header-button])
-        AC_DEFINE([LIBGD_HEADER_BAR], [1], [Description])
-    ])
-
     # margin-container:
     AM_CONDITIONAL([LIBGD_MARGIN_CONTAINER],[_LIBGD_IF_OPTION_SET([margin-container],[true],[false])])
     _LIBGD_IF_OPTION_SET([margin-container],[
diff --git a/libgd/gd-types-catalog.c b/libgd/gd-types-catalog.c
index f774ceb..a3d9494 100644
--- a/libgd/gd-types-catalog.c
+++ b/libgd/gd-types-catalog.c
@@ -46,10 +46,6 @@
 # include "gd-main-toolbar.h"
 #endif
 
-#ifdef LIBGD_HEADER_BAR
-# include "gd-header-bar.h"
-#endif
-
 #ifdef LIBGD__HEADER_BUTTON
 # include "gd-header-button.h"
 #endif
@@ -98,10 +94,6 @@ gd_ensure_types (void)
   g_type_ensure (GD_TYPE_MAIN_TOOLBAR);
 #endif
 
-#ifdef LIBGD_HEADER_BAR
-  g_type_ensure (GD_TYPE_HEADER_BAR);
-#endif
-
 #ifdef LIBGD__HEADER_BUTTON
   g_type_ensure (GD_TYPE_HEADER_SIMPLE_BUTTON);
   g_type_ensure (GD_TYPE_HEADER_MENU_BUTTON);
diff --git a/libgd/gd.h b/libgd/gd.h
index ec8aa58..07da570 100644
--- a/libgd/gd.h
+++ b/libgd/gd.h
@@ -58,10 +58,6 @@ G_BEGIN_DECLS
 # include <libgd/gd-main-toolbar.h>
 #endif
 
-#ifdef LIBGD_HEADER_BAR
-# include <libgd/gd-header-bar.h>
-#endif
-
 #ifdef LIBGD__HEADER_BUTTON
 # include <libgd/gd-header-button.h>
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]