/usr/include/gthumb-3.6/gthumb/gth-menu-manager.h is in gthumb-dev 3:3.6.1-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 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* GThumb
*
* Copyright (C) 2013 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_MENU_MANAGER_H
#define GTH_MENU_MANAGER_H
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define GTH_MENU_MANAGER_NEW_MERGE_ID -1
#define GTH_TYPE_MENU_MANAGER (gth_menu_manager_get_type ())
#define GTH_MENU_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTH_TYPE_MENU_MANAGER, GthMenuManager))
#define GTH_MENU_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTH_TYPE_MENU_MANAGER, GthMenuManagerClass))
#define GTH_IS_MENU_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTH_TYPE_MENU_MANAGER))
#define GTH_IS_MENU_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTH_TYPE_MENU_MANAGER))
#define GTH_MENU_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), GTH_TYPE_MENU_MANAGER, GthMenuManagerClass))
typedef struct {
const char *label;
const char *detailed_action;
const char *accel;
const char *icon_name;
} GthMenuEntry;
typedef struct _GthMenuManager GthMenuManager;
typedef struct _GthMenuManagerPrivate GthMenuManagerPrivate;
typedef struct _GthMenuManagerClass GthMenuManagerClass;
struct _GthMenuManager
{
GObject __parent;
GthMenuManagerPrivate *priv;
};
struct _GthMenuManagerClass
{
GObjectClass __parent_class;
};
GType gth_menu_manager_get_type (void) G_GNUC_CONST;
GthMenuManager * gth_menu_manager_new (GMenu *menu);
GMenu * gth_menu_manager_get_menu (GthMenuManager *menu_manager);
guint gth_menu_manager_append_entries (GthMenuManager *menu_manager,
const GthMenuEntry *entries,
int n_entries);
void gth_menu_manager_remove_entries (GthMenuManager *menu_manager,
guint merge_id);
guint gth_menu_manager_new_merge_id (GthMenuManager *menu_manager);
void gth_menu_manager_append_entry (GthMenuManager *menu_manager,
guint merge_id,
const char *label,
const char *detailed_action,
const char *accel,
const char *icon_name);
G_END_DECLS
#endif /* GTH_MENU_MANAGER_H */
|