aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-selection-model.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-14 20:25:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-15 21:16:36 +0800
commit5e2efa2cd4ac7891fdf316dafd9ab249086e842a (patch)
treefe4b9c1ef8d783281789c4a378253aa41af35db3 /e-util/e-selection-model.h
parent63cff95414fc76e6d58a274ffebe019cd6feb0a5 (diff)
downloadgsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.gz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.zst
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.zip
Finish adding symbols to libeutil API docs.
Diffstat (limited to 'e-util/e-selection-model.h')
-rw-r--r--e-util/e-selection-model.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/e-util/e-selection-model.h b/e-util/e-selection-model.h
index 1d59e28fe1..5450910bbe 100644
--- a/e-util/e-selection-model.h
+++ b/e-util/e-selection-model.h
@@ -29,6 +29,7 @@
#define E_SELECTION_MODEL_H
#include <gtk/gtk.h>
+#include <e-util/e-misc-utils.h>
#include <e-util/e-sorter.h>
/* Standard GObject macros */
@@ -52,12 +53,6 @@
G_BEGIN_DECLS
-#ifndef _E_FOREACH_FUNC_H_
-#define _E_FOREACH_FUNC_H_
-typedef void (*EForeachFunc) (gint model_row,
- gpointer closure);
-#endif
-
typedef struct _ESelectionModel ESelectionModel;
typedef struct _ESelectionModelClass ESelectionModelClass;
@@ -125,7 +120,7 @@ struct _ESelectionModelClass {
void (*selection_changed) (ESelectionModel *esm);
};
-GType e_selection_model_get_type (void);
+GType e_selection_model_get_type (void) G_GNUC_CONST;
void e_selection_model_do_something (ESelectionModel *esm,
guint row,
guint col,
@@ -153,10 +148,10 @@ void e_selection_model_select_as_key_press
/* Virtual functions */
gboolean e_selection_model_is_row_selected
(ESelectionModel *esm,
- gint n);
+ gint n);
void e_selection_model_foreach (ESelectionModel *esm,
- EForeachFunc callback,
- gpointer closure);
+ EForeachFunc callback,
+ gpointer closure);
void e_selection_model_clear (ESelectionModel *esm);
gint e_selection_model_selected_count
(ESelectionModel *esm);