This file is indexed.

/usr/include/gthumb-3.4/gthumb/gth-file-source.h is in gthumb-dev 3:3.4.3-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
 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */

/*
 *  GThumb
 *
 *  Copyright (C) 2008-2009 Free Software Foundation, Inc.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program 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 General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef GTH_FILE_SOURCE_H
#define GTH_FILE_SOURCE_H

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "gio-utils.h"
#include "gth-file-data.h"
#include "typedefs.h"

G_BEGIN_DECLS

#define GTH_TYPE_FILE_SOURCE         (gth_file_source_get_type ())
#define GTH_FILE_SOURCE(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), GTH_TYPE_FILE_SOURCE, GthFileSource))
#define GTH_FILE_SOURCE_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST ((k), GTH_TYPE_FILE_SOURCE, GthFileSourceClass))
#define GTH_IS_FILE_SOURCE(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTH_TYPE_FILE_SOURCE))
#define GTH_IS_FILE_SOURCE_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), GTH_TYPE_FILE_SOURCE))
#define GTH_FILE_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), GTH_TYPE_FILE_SOURCE, GthFileSourceClass))

typedef struct _GthFileSource         GthFileSource;
typedef struct _GthFileSourcePrivate  GthFileSourcePrivate;
typedef struct _GthFileSourceClass    GthFileSourceClass;

typedef void (*ListReady)          (GthFileSource *file_source,
				    GList         *files,
				    GError        *error,
				    gpointer       data);
typedef void (*SpaceReadyCallback) (GthFileSource *file_source,
				    guint64        total_size,
				    guint64        free_space,
				    GError        *error,
				    gpointer       data);

struct _GthFileSource
{
	GObject __parent;
	GthFileSourcePrivate *priv;

	/*< protected >*/

	GList *folders; /* list of GthFileData */
	GList *files;   /* list of GthFileData */
};

struct _GthFileSourceClass
{
	GObjectClass __parent_class;

	/*< virtual functions >*/

	GList *      (*get_entry_points)      (GthFileSource        *file_source);
	GList *      (*get_current_list)      (GthFileSource        *file_source,
					       GFile                *file);
	GFile *      (*to_gio_file)           (GthFileSource        *file_source,
					       GFile                *file);
	GFileInfo *  (*get_file_info)         (GthFileSource        *file_source,
					       GFile                *file,
					       const char           *attributes);
	GthFileData *(*get_file_data)         (GthFileSource        *file_source,
					       GFile                *file,
					       GFileInfo            *info);
	void         (*write_metadata)        (GthFileSource        *file_source,
					       GthFileData          *file_data,
					       const char           *attributes,
					       ReadyCallback         callback,
       					       gpointer              data);
	void         (*read_metadata)         (GthFileSource        *file_source,
					       GthFileData          *file_data,
					       const char           *attributes,
					       ReadyCallback         callback,
					       gpointer              data);
	void         (*for_each_child)        (GthFileSource        *file_source,
					       GFile                *parent,
					       gboolean              recursive,
					       const char           *attributes,
					       StartDirCallback      dir_func,
					       ForEachChildCallback  child_func,
					       ReadyCallback         ready_func,
					       gpointer              data);
	void         (*rename)                (GthFileSource        *file_source,
					       GFile                *file,
					       const char           *edit_name,
					       ReadyCallback         callback,
					       gpointer              data);
	void         (*copy)                  (GthFileSource        *file_source,
					       GthFileData          *destination,
					       GList                *file_list, /* GFile list */
					       gboolean              move,
					       int                   destination_position,
					       ProgressCallback      progress_callback,
					       DialogCallback        dialog_callback,
					       ReadyCallback         callback,
					       gpointer              data);
	gboolean     (*can_cut)               (GthFileSource        *file_source,
					       GFile                *file);
	void         (*monitor_entry_points)  (GthFileSource        *file_source);
	void         (*monitor_directory)     (GthFileSource        *file_source,
					       GFile                *file,
					       gboolean              activate);
	gboolean     (*is_reorderable)        (GthFileSource        *file_source);
	void         (*reorder)               (GthFileSource        *file_source,
					       GthFileData          *destination,
					       GList                *visible_files, /* GFile list */
					       GList                *files_to_move, /* GFile list */
					       int                   dest_pos,
					       ReadyCallback         callback,
					       gpointer              data);
	void         (*remove)                (GthFileSource        *file_source,
					       GthFileData          *location,
					       GList                *file_list, /* GthFileData list */
					       gboolean              permanently,
					       GtkWindow            *parent);
	void         (*get_free_space)        (GthFileSource        *file_source,
					       GFile                *location,
					       SpaceReadyCallback    callback,
					       gpointer              data);
	gboolean     (*shows_extra_widget)    (GthFileSource        *file_source);
};

GType          gth_file_source_get_type              (void) G_GNUC_CONST;

/*< public >*/

void           gth_file_source_set_cancellable       (GthFileSource        *file_source,
						      GCancellable         *cancellable);
GList *        gth_file_source_get_entry_points      (GthFileSource        *file_source); /* returns GthFileData list */
GList *        gth_file_source_get_current_list      (GthFileSource        *file_source,  /* GFile list */
						      GFile                *file);
GFile *        gth_file_source_to_gio_file           (GthFileSource        *file_source,
						      GFile                *file);
GList *        gth_file_source_to_gio_file_list      (GthFileSource        *file_source,
						      GList                *files);
GFileInfo *    gth_file_source_get_file_info         (GthFileSource        *file_source,
						      GFile                *file,
						      const char           *attributes);
GthFileData *  gth_file_source_get_file_data         (GthFileSource        *file_source,
					              GFile                *file,
					              GFileInfo            *info);
gboolean       gth_file_source_is_active             (GthFileSource        *file_source);
void           gth_file_source_cancel                (GthFileSource        *file_source);
void           gth_file_source_write_metadata        (GthFileSource        *file_source,
						      GthFileData          *file_data,
						      const char           *attributes,
						      ReadyCallback         callback,
						      gpointer              data);
void           gth_file_source_read_metadata         (GthFileSource        *file_source,
						      GthFileData          *file_data,
						      const char           *attributes,
						      ReadyCallback         callback,
						      gpointer              data);
void           gth_file_source_list                  (GthFileSource        *file_source,
						      GFile                *folder,
						      const char           *attributes,
						      ListReady             func,
						      gpointer              data);
void           gth_file_source_for_each_child        (GthFileSource        *file_source,
						      GFile                *parent,
						      gboolean              recursive,
						      const char           *attributes,
						      StartDirCallback      dir_func,
						      ForEachChildCallback  child_func,
						      ReadyCallback         ready_func,
						      gpointer              data);
void           gth_file_source_read_attributes       (GthFileSource        *file_source,
						      GList                *files,
						      const char           *attributes,
						      ListReady             func,
						      gpointer              data);
void           gth_file_source_rename                (GthFileSource        *file_source,
						      GFile                *file,
						      const char           *edit_name,
						      ReadyCallback         ready_callback,
						      gpointer              data);
void           gth_file_source_copy                  (GthFileSource        *file_source,
						      GthFileData          *destination,
						      GList                *file_list, /* GFile list */
						      gboolean              move,
						      int                   destination_position,
						      ProgressCallback      progress_callback,
						      DialogCallback        dialog_callback,
						      ReadyCallback         ready_callback,
						      gpointer              data);
gboolean       gth_file_source_can_cut               (GthFileSource        *file_source,
						      GFile                *file);
void           gth_file_source_monitor_entry_points  (GthFileSource        *file_source);
void           gth_file_source_monitor_directory     (GthFileSource        *file_source,
						      GFile                *file,
						      gboolean              activate);
gboolean       gth_file_source_is_reorderable        (GthFileSource        *file_source);
void           gth_file_source_reorder               (GthFileSource        *file_source,
						      GthFileData          *destination,
						      GList                *visible_files, /* GFile list */
						      GList                *files_to_move, /* GFile list */
						      int                   dest_pos,
						      ReadyCallback         callback,
						      gpointer              data);
void           gth_file_source_remove                (GthFileSource        *file_source,
						      GthFileData          *location,
		       	       	       	       	      GList                *file_list /* GthFileData list */,
		       	       	       	       	      gboolean              permanently,
		       	       	       	       	      GtkWindow            *parent);
void           gth_file_source_get_free_space        (GthFileSource        *file_source,
						      GFile                *location,
						      SpaceReadyCallback    callback,
						      gpointer              data);
gboolean       gth_file_source_shows_extra_widget    (GthFileSource        *file_source);

/*< protected >*/

void           gth_file_source_add_scheme            (GthFileSource        *file_source,
						      const char           *scheme);
gboolean       gth_file_source_supports_scheme       (GthFileSource        *file_source,
						      const char           *uri);
void           gth_file_source_set_active            (GthFileSource        *file_source,
						      gboolean              pending);
GCancellable * gth_file_source_get_cancellable       (GthFileSource        *file_source);

G_END_DECLS

#endif /* GTH_FILE_SOURCE_H */