This file is indexed.

/usr/include/hippo-canvas-1/hippo/hippo-canvas.h is in libhippocanvas-dev 0.3.1-1.2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#ifndef __HIPPO_CANVAS_H__
#define __HIPPO_CANVAS_H__

/* A widget that contains a root HippoCanvasItem */

#include <gtk/gtkwidget.h>
#include <hippo/hippo-canvas-item.h>

G_BEGIN_DECLS

/* this is a small hack; requiring a canvas subclass would be cleaner. But, not worth it
 * unless the subclass would have a little more stuff than it would right now.
 */
typedef cairo_surface_t* (* HippoCanvasLoadImageHook) (HippoCanvasContext *context,
                                                       const char         *image_name);

typedef struct _HippoCanvas      HippoCanvas;
typedef struct _HippoCanvasClass HippoCanvasClass;

#define HIPPO_TYPE_CANVAS              (hippo_canvas_get_type ())
#define HIPPO_CANVAS(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), HIPPO_TYPE_CANVAS, HippoCanvas))
#define HIPPO_CANVAS_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), HIPPO_TYPE_CANVAS, HippoCanvasClass))
#define HIPPO_IS_CANVAS(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), HIPPO_TYPE_CANVAS))
#define HIPPO_IS_CANVAS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), HIPPO_TYPE_CANVAS))
#define HIPPO_CANVAS_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), HIPPO_TYPE_CANVAS, HippoCanvasClass))

GType        	 hippo_canvas_get_type               (void) G_GNUC_CONST;

GtkWidget*   hippo_canvas_new      (void);
void         hippo_canvas_set_root (HippoCanvas     *canvas,
                                    HippoCanvasItem *root);
void         hippo_canvas_set_theme(HippoCanvas      *canvas,
                                    HippoCanvasTheme *theme);

void         hippo_canvas_set_width (HippoCanvas    *canvas,
                                     int             width);

void         hippo_canvas_set_load_image_hook(HippoCanvasLoadImageHook hook);

HippoCanvasContext *hippo_canvas_get_context(HippoCanvas *canvas);

GtkWidget   *hippo_canvas_get_canvas_for_item(HippoCanvasItem *item);

void hippo_canvas_open_test_window(void);

G_END_DECLS

#endif /* __HIPPO_CANVAS_H__ */