Fix a Gtk warning when checking path input in the log viewer.
[anjuta-git-plugin.git] / libanjuta / cell-renderer-captioned-image.h
blobd7951c914f595ed0867eff82d3d34eb0d40d8633
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 8 -*- */
2 /* prefs-cell-renderer.h
4 * Copyright (C) 2002 Dave Camp
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #ifndef PREFS_CELL_RENDERER_H
23 #define PREFS_CELL_RENDERER_H
25 #include <gtk/gtkcellrenderer.h>
26 #include <gtk/gtkcellrenderertext.h>
27 #include <gtk/gtkcellrendererpixbuf.h>
29 G_BEGIN_DECLS
31 #define ANJUTA_TYPE_CELL_RENDERER_CAPTIONED_IMAGE (anjuta_cell_renderer_captioned_image_get_type ())
32 #define ANJUTA_CELL_RENDERER_CAPTIONED_IMAGE(obj) (GTK_CHECK_CAST ((obj), ANJUTA_TYPE_CELL_RENDERER_CAPTIONED_IMAGE, AnjutaCellRendererCaptionedImage))
33 #define ANJUTA_CELL_RENDERER_CAPTIONED_IMAGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_CELL_RENDERER_CAPTIONED_IMAGE, AnjutaCellRendererCaptionedImageClass))
34 #define ANJUTA_IS_CELL_RENDERER_CAPTIONED_IMAGE(obj) (GTK_CHECK_TYPE ((obj), ANJUTA_TYPE_CELL_RENDERER_CAPTIONED_IMAGE))
35 #define ANJUTA_IS_CELL_RENDERER_CAPTIONED_IMAGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_CELL_RENDERER_CAPTIONED_IMAGE))
36 #define ANJUTA_CELL_RENDERER_CAPTIONED_IMAGE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), ANJUTA_TYPE_CELL_RENDERER_CAPTIONED_IMAGE, AnjutaCellRendererCaptionedImageClass))
38 typedef struct _AnjutaCellRendererCaptionedImage AnjutaCellRendererCaptionedImage;
39 typedef struct _AnjutaCellRendererCaptionedImageClass AnjutaCellRendererCaptionedImageClass;
41 struct _AnjutaCellRendererCaptionedImage {
42 GtkCellRenderer parent;
44 GtkCellRenderer *image;
45 GtkCellRenderer *caption;
48 struct _AnjutaCellRendererCaptionedImageClass {
49 GtkCellRendererClass parent_class;
52 GType anjuta_cell_renderer_captioned_image_get_type (void);
53 GtkCellRenderer *anjuta_cell_renderer_captioned_image_new (void);
55 G_END_DECLS
57 #endif