Updated Swedish translation
[anjuta.git] / plugins / git / giggle-graph-renderer.h
bloba2785e7e3f3935acf4a09790b35543e0f02de5d2
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2007 Imendio AB
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
21 #ifndef __GIGGLE_GRAPH_RENDERER_H__
22 #define __GIGGLE_GRAPH_RENDERER_H__
24 G_BEGIN_DECLS
26 #include <gtk/gtk.h>
28 #define GIGGLE_TYPE_GRAPH_RENDERER (giggle_graph_renderer_get_type ())
29 #define GIGGLE_GRAPH_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIGGLE_TYPE_GRAPH_RENDERER, GiggleGraphRenderer))
30 #define GIGGLE_GRAPH_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIGGLE_TYPE_GRAPH_RENDERER, GiggleGraphRendererClass))
31 #define GIGGLE_IS_GRAPH_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIGGLE_TYPE_GRAPH_RENDERER))
32 #define GIGGLE_IS_GRAPH_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIGGLE_TYPE_GRAPH_RENDERER))
33 #define GIGGLE_GRAPH_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIGGLE_TYPE_GRAPH_RENDERER, GiggleGraphRendererClass))
35 typedef struct GiggleGraphRenderer GiggleGraphRenderer;
36 typedef struct GiggleGraphRendererClass GiggleGraphRendererClass;
38 struct GiggleGraphRenderer {
39 GtkCellRenderer parent_instance;
41 /*<private>*/
42 gpointer _priv;
45 struct GiggleGraphRendererClass {
46 GtkCellRendererClass parent_class;
49 GType giggle_graph_renderer_get_type (void);
50 GtkCellRenderer *giggle_graph_renderer_new (void);
52 void giggle_graph_renderer_validate_model (GiggleGraphRenderer *renderer,
53 GtkTreeModel *model,
54 gint column);
56 G_END_DECLS
58 #endif /* __GIGGLE_GRAPH_RENDERER_H__ */