docs: enum cleanup

Move GtkResizeMode to the only place it is used.
This commit is contained in:
Matthias Clasen 2014-05-20 09:37:53 -04:00
parent 1c271365ab
commit 575d0eabfb
3 changed files with 15 additions and 14 deletions

View File

@ -983,6 +983,7 @@ GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID
gtk_container_add gtk_container_add
gtk_container_remove gtk_container_remove
gtk_container_add_with_properties gtk_container_add_with_properties
GtkResizeMode
gtk_container_get_resize_mode gtk_container_get_resize_mode
gtk_container_set_resize_mode gtk_container_set_resize_mode
gtk_container_check_resize gtk_container_check_resize
@ -6532,7 +6533,6 @@ GtkOrientation
GtkPackType GtkPackType
GtkPositionType GtkPositionType
GtkReliefStyle GtkReliefStyle
GtkResizeMode
GtkScrollStep GtkScrollStep
GtkScrollType GtkScrollType
GtkSelectionMode GtkSelectionMode

View File

@ -122,6 +122,20 @@ struct _GtkContainerClass
}; };
/**
* GtkResizeMode:
* @GTK_RESIZE_PARENT: Pass resize request to the parent
* @GTK_RESIZE_QUEUE: Queue resizes on this widget
* @GTK_RESIZE_IMMEDIATE: Resize immediately. Deprecated.
*/
typedef enum
{
GTK_RESIZE_PARENT,
GTK_RESIZE_QUEUE,
GTK_RESIZE_IMMEDIATE
} GtkResizeMode;
/* Application-level methods */ /* Application-level methods */
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL

View File

@ -408,19 +408,6 @@ typedef enum
GTK_RELIEF_NONE GTK_RELIEF_NONE
} GtkReliefStyle; } GtkReliefStyle;
/**
* GtkResizeMode:
* @GTK_RESIZE_PARENT: Pass resize request to the parent
* @GTK_RESIZE_QUEUE: Queue resizes on this widget
* @GTK_RESIZE_IMMEDIATE: Resize immediately. Deprecated.
*/
typedef enum
{
GTK_RESIZE_PARENT,
GTK_RESIZE_QUEUE,
GTK_RESIZE_IMMEDIATE
} GtkResizeMode;
/** /**
* GtkScrollType: * GtkScrollType:
* @GTK_SCROLL_NONE: No scrolling. * @GTK_SCROLL_NONE: No scrolling.