[gtk] Remove an unused enum



commit 03964b5edb89b8d7e4c955fa94a310ce4cdd5311
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 1 04:11:22 2019 +0000

    Remove an unused enum
    
    No use of GtkArrowPlacement anywhere.

 docs/reference/gtk/gtk4-sections.txt |  1 -
 gtk/gtkmenu.h                        | 15 ---------------
 2 files changed, 16 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 5c660f75d7..75fe4b1a9b 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -1775,7 +1775,6 @@ gtk_map_list_model_get_type
 <FILE>gtkmenu</FILE>
 <TITLE>GtkMenu</TITLE>
 GtkMenu
-GtkArrowPlacement
 gtk_menu_new
 gtk_menu_new_from_model
 gtk_menu_reorder_child
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h
index c0d8f116a4..b86f5121fb 100644
--- a/gtk/gtkmenu.h
+++ b/gtk/gtkmenu.h
@@ -41,21 +41,6 @@ G_BEGIN_DECLS
 
 typedef struct _GtkMenu GtkMenu;
 
-/**
- * GtkArrowPlacement:
- * @GTK_ARROWS_BOTH: Place one arrow on each end of the menu.
- * @GTK_ARROWS_START: Place both arrows at the top of the menu.
- * @GTK_ARROWS_END: Place both arrows at the bottom of the menu.
- *
- * Used to specify the placement of scroll arrows in scrolling menus.
- */
-typedef enum
-{
-  GTK_ARROWS_BOTH,
-  GTK_ARROWS_START,
-  GTK_ARROWS_END
-} GtkArrowPlacement;
-
 /**
  * GtkMenuDetachFunc:
  * @attach_widget: the #GtkWidget that the menu is being detached from.


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