[egg-list-box/flow-box-enhancements] Trivial: rearrange header slightly
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box/flow-box-enhancements] Trivial: rearrange header slightly
- Date: Sun, 29 Sep 2013 07:37:11 +0000 (UTC)
commit 883dec9261decfa4ba87cb14142a53f2e58dbc2e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 28 18:17:34 2013 -0400
Trivial: rearrange header slightly
egg-flow-box.h | 26 +++++++-------------------
1 files changed, 7 insertions(+), 19 deletions(-)
---
diff --git a/egg-flow-box.h b/egg-flow-box.h
index e489b7c..f4e4805 100644
--- a/egg-flow-box.h
+++ b/egg-flow-box.h
@@ -45,20 +45,6 @@ typedef struct _EggFlowBoxClass EggFlowBoxClass;
typedef struct _EggFlowBoxChild EggFlowBoxChild;
typedef struct _EggFlowBoxChildClass EggFlowBoxChildClass;
-/**
- * EggFlowBoxForeachFunc:
- * @box: an #EggFlowBox
- * @child: The child #EggFlowBoxChild
- * @data: user data
- *
- * A function used by egg_flow_box_selected_foreach() to map all
- * selected children. It will be called on every selected child
- * in the box.
- */
-typedef void (* EggFlowBoxForeachFunc) (EggFlowBox *box,
- EggFlowBoxChild *child,
- gpointer data);
-
struct _EggFlowBox
{
GtkContainer container;
@@ -124,7 +110,6 @@ void egg_flow_box_child_changed (EggFlowBoxChild *c
GType egg_flow_box_get_type (void) G_GNUC_CONST;
GtkWidget *egg_flow_box_new (void);
-
void egg_flow_box_set_homogeneous (EggFlowBox *box,
gboolean homogeneous);
gboolean egg_flow_box_get_homogeneous (EggFlowBox *box);
@@ -149,10 +134,9 @@ guint egg_flow_box_get_min_children_per_line (EggFlowBox
void egg_flow_box_set_max_children_per_line (EggFlowBox *box,
guint n_children);
guint egg_flow_box_get_max_children_per_line (EggFlowBox *box);
-
-gboolean egg_flow_box_get_activate_on_single_click (EggFlowBox *box);
void egg_flow_box_set_activate_on_single_click (EggFlowBox *box,
gboolean single);
+gboolean egg_flow_box_get_activate_on_single_click (EggFlowBox *box);
void egg_flow_box_insert (EggFlowBox *box,
GtkWidget *child,
@@ -160,19 +144,23 @@ void egg_flow_box_insert (EggFlowBox
EggFlowBoxChild *egg_flow_box_get_child_at_index (EggFlowBox *box,
gint index_);
-GList *egg_flow_box_get_selected_children (EggFlowBox *box);
+typedef void (* EggFlowBoxForeachFunc) (EggFlowBox *box,
+ EggFlowBoxChild *child,
+ gpointer data);
+
void egg_flow_box_selected_foreach (EggFlowBox *box,
EggFlowBoxForeachFunc func,
gpointer data);
+GList *egg_flow_box_get_selected_children (EggFlowBox *box);
void egg_flow_box_select_child (EggFlowBox *box,
EggFlowBoxChild *child);
void egg_flow_box_unselect_child (EggFlowBox *box,
EggFlowBoxChild *child);
void egg_flow_box_select_all (EggFlowBox *box);
void egg_flow_box_unselect_all (EggFlowBox *box);
-GtkSelectionMode egg_flow_box_get_selection_mode (EggFlowBox *box);
void egg_flow_box_set_selection_mode (EggFlowBox *box,
GtkSelectionMode mode);
+GtkSelectionMode egg_flow_box_get_selection_mode (EggFlowBox *box);
void egg_flow_box_set_hadjustment (EggFlowBox *box,
GtkAdjustment *adjustment);
void egg_flow_box_set_vadjustment (EggFlowBox *box,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]