/usr/include/goa-1.0/goabackend/goaeditablelabel.h is in libgoa-1.0-dev 3.4.0-0ubuntu1.
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: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2009-2011 Red Hat, Inc.
*
* 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 of the License, 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.
*
* Based on panels/user-accounts/um-editable-entry.c from
* gnome-control-center by Matthias Clasen <mclasen@redhat.com>.
* Relicensed to LGPLv2 after obtaining permission.
*/
#if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEND_COMPILATION)
#error "Only <goabackend/goabackend.h> can be included directly."
#endif
#ifndef __GOA_EDITABLE_LABEL_H__
#define __GOA_EDITABLE_LABEL_H__
#include <goabackend/goabackendtypes.h>
G_BEGIN_DECLS
#define GOA_TYPE_EDITABLE_LABEL (goa_editable_label_get_type ())
#define GOA_EDITABLE_LABEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_EDITABLE_LABEL, GoaEditableLabel))
#define GOA_EDITABLE_LABEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_EDITABLE_LABEL, GoaEditableLabelClass))
#define GOA_IS_EDITABLE_LABEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_EDITABLE_LABEL))
#define GOA_IS_EDITABLE_LABEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_EDITABLE_LABEL))
#define GOA_EDITABLE_LABEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_EDITABLE_LABEL, GoaEditableLabelClass))
typedef struct _GoaEditableLabelClass GoaEditableLabelClass;
typedef struct _GoaEditableLabelPrivate GoaEditableLabelPrivate;
struct _GoaEditableLabel
{
GtkAlignment parent;
GoaEditableLabelPrivate *priv;
};
struct _GoaEditableLabelClass
{
GtkAlignmentClass parent_class;
void (* editing_done) (GoaEditableLabel *entry);
};
GType goa_editable_label_get_type (void) G_GNUC_CONST;
GtkWidget *goa_editable_label_new (void);
void goa_editable_label_set_text (GoaEditableLabel *entry,
const gchar *text);
const gchar *goa_editable_label_get_text (GoaEditableLabel *entry);
void goa_editable_label_set_editable (GoaEditableLabel *entry,
gboolean editable);
gboolean goa_editable_label_get_editable (GoaEditableLabel *entry);
void goa_editable_label_set_weight (GoaEditableLabel *entry,
gint weight);
gint goa_editable_label_get_weight (GoaEditableLabel *entry);
void goa_editable_label_set_scale (GoaEditableLabel *entry,
gdouble scale);
gdouble goa_editable_label_get_scale (GoaEditableLabel *entry);
G_END_DECLS
#endif /* _GOA_EDITABLE_LABEL_H_ */
|