This file is indexed.

/usr/include/gtkimageview/mouse_handler.h is in libgtkimageview-dev 1.6.4-1.

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
50
51
52
53
54
55
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; coding: utf-8 -*- 
 *
 * Copyright © 2007-2008 Björn Lindqvist <bjourne@gmail.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2, or
 * (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 */
#ifndef __MOUSE_HANDLER_H__
#define __MOUSE_HANDLER_H__

#include <gdk/gdk.h>

#include "utils.h"

typedef struct
{
    gboolean         pressed;
    gboolean         dragging;

    /* Position where the mouse was pressed. */
    int              drag_base_x;
    int              drag_base_y;

    /* Current position of the mouse. */
    int              drag_ofs_x;
    int              drag_ofs_y;

    /* Cursor to use when grabbing. */
    GdkCursor       *grab_cursor; 
} MouseHandler;

MouseHandler *mouse_handler_new              (GdkCursor       *grab_cursor);
gboolean      mouse_handler_button_press     (MouseHandler    *mh,
                                              GdkEventButton  *ev);
gboolean      mouse_handler_button_release   (MouseHandler    *mh,
                                              GdkEventButton  *ev);
void          mouse_handler_motion_notify    (MouseHandler    *mh,
                                              GdkEventMotion  *ev);
void          mouse_handler_get_drag_delta   (MouseHandler    *mh,
                                              int             *x,
                                              int             *y);

#endif