This file is indexed.

/usr/include/scim-1.0/gtk/scimkeyselection.h is in libscim-dev 1.4.15-6.

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
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
#ifndef __SCIM_KEY_SELECTION_H__
#define __SCIM_KEY_SELECTION_H__

#include <gtk/gtk.h>
#include <scim.h>

G_BEGIN_DECLS

#define SCIM_TYPE_KEY_SELECTION            (scim_key_selection_get_type ())
#define SCIM_KEY_SELECTION(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCIM_TYPE_KEY_SELECTION, ScimKeySelection))
#define SCIM_KEY_SELECTION_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SCIM_TYPE_KEY_SELECTION, ScimKeySelectionClass))
#define SCIM_IS_KEY_SELECTION(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCIM_TYPE_KEY_SELECTION))
#define SCIM_IS_KEY_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCIM_TYPE_KEY_SELECTION))
#define SCIM_KEY_SELECTION_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SCIM_TYPE_KEY_SELECTION, ScimKeySelectionClass))

#define SCIM_TYPE_KEY_SELECTION_DIALOG            (scim_key_selection_dialog_get_type ())
#define SCIM_KEY_SELECTION_DIALOG(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCIM_TYPE_KEY_SELECTION_DIALOG, ScimKeySelectionDialog))
#define SCIM_KEY_SELECTION_DIALOG_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SCIM_TYPE_KEY_SELECTION_DIALOG, ScimKeySelectionDialogClass))
#define SCIM_IS_KEY_SELECTION_DIALOG(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCIM_TYPE_KEY_SELECTION_DIALOG))
#define SCIM_IS_KEY_SELECTION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCIM_TYPE_KEY_SELECTION_DIALOG))
#define SCIM_KEY_SELECTION_DIALOG_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SCIM_TYPE_KEY_SELECTION_DIALOG, ScimKeySelectionDialogClass))

typedef struct _ScimKeySelection       ScimKeySelection;
typedef struct _ScimKeySelectionClass  ScimKeySelectionClass;

typedef struct _ScimKeySelectionDialog       ScimKeySelectionDialog;
typedef struct _ScimKeySelectionDialogClass  ScimKeySelectionDialogClass;

struct _ScimKeySelection
{
    GtkVBox  vbox;

    GtkWidget *toggle_ctrl;
    GtkWidget *toggle_alt;
    GtkWidget *toggle_shift;
    GtkWidget *toggle_meta;
    GtkWidget *toggle_super;
    GtkWidget *toggle_hyper;
    GtkWidget *toggle_capslock;
    GtkWidget *toggle_release;
    GtkWidget *key_code;

    GtkWidget        *list_view;
    GtkTreeSelection *list_selection;
    GtkListStore     *list_model;

    gchar            *keys;
};

struct _ScimKeySelectionClass
{
    GtkVBoxClass parent_class;

    void (*changed) (ScimKeySelection *keyselection);
};

struct _ScimKeySelectionDialog
{
    GtkDialog parent_instance;

    GtkWidget *keysel;

#if GTK_CHECK_VERSION(3, 0, 0)
    GtkWidget *content_area;
#else
    GtkWidget *main_vbox;
#endif
    GtkWidget *action_area;

    GtkWidget *ok_button;
    GtkWidget *cancel_button;
};

struct _ScimKeySelectionDialogClass
{
    GtkDialogClass parent_class;

    /* Padding for future expansion */
    void (*_gtk_reserved1) (void);
    void (*_gtk_reserved2) (void);
    void (*_gtk_reserved3) (void);
    void (*_gtk_reserved4) (void);
};

GType                 scim_key_selection_get_type        (void) G_GNUC_CONST;

GtkWidget*            scim_key_selection_new             (void);

void                  scim_key_selection_set_keys        (ScimKeySelection       *keyselection,
                                                          const gchar            *keys);

void                  scim_key_selection_append_keys     (ScimKeySelection       *keyselection,
                                                          const gchar            *keys);


const gchar* scim_key_selection_get_keys        (ScimKeySelection       *keyselection);


GType                 scim_key_selection_dialog_get_type (void) G_GNUC_CONST;
GtkWidget*            scim_key_selection_dialog_new      (const gchar            *title);
void                  scim_key_selection_dialog_set_keys (ScimKeySelectionDialog *ksd,
                                                          const gchar            *keys);
const gchar* scim_key_selection_dialog_get_keys (ScimKeySelectionDialog *ksd);

G_END_DECLS

#endif /* __GTK_KEY_SELECTION_H__ */

/*
vi:ts=4:nowrap:ai:expandtab
*/