~ubuntu-branches/debian/squeeze/inkscape/squeeze

« back to all changes in this revision

Viewing changes to src/libgdl/gdl-dock-notebook.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 
2
 *
 
3
 * This file is part of the GNOME Devtools Libraries.
 
4
 *
 
5
 * Copyright (C) 2002 Gustavo Gir�ldez <gustavo.giraldez@gmx.net>
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Lesser General Public
 
9
 * License as published by the Free Software Foundation; either
 
10
 * version 2.1 of the License, or (at your option) any later version.
 
11
 *
 
12
 * This library is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Lesser General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Lesser General Public
 
18
 * License along with this library; if not, write to the Free Software
 
19
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
20
 */
 
21
 
 
22
#ifndef __GDL_DOCK_NOTEBOOK_H__
 
23
#define __GDL_DOCK_NOTEBOOK_H__
 
24
 
 
25
#include "libgdl/gdl-dock-item.h"
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
/* standard macros */
 
30
#define GDL_TYPE_DOCK_NOTEBOOK            (gdl_dock_notebook_get_type ())
 
31
#define GDL_DOCK_NOTEBOOK(obj)            (GTK_CHECK_CAST ((obj), GDL_TYPE_DOCK_NOTEBOOK, GdlDockNotebook))
 
32
#define GDL_DOCK_NOTEBOOK_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GDL_TYPE_DOCK_NOTEBOOK, GdlDockNotebookClass))
 
33
#define GDL_IS_DOCK_NOTEBOOK(obj)         (GTK_CHECK_TYPE ((obj), GDL_TYPE_DOCK_NOTEBOOK))
 
34
#define GDL_IS_DOCK_NOTEBOOK_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GDL_TYPE_DOCK_NOTEBOOK))
 
35
#define GDL_DOCK_NOTEBOOK_GET_CLASS(obj)  (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_DOCK_NOTEBOOK, GdlDockNotebookClass))
 
36
 
 
37
/* data types & structures */
 
38
typedef struct _GdlDockNotebook        GdlDockNotebook;
 
39
typedef struct _GdlDockNotebookClass   GdlDockNotebookClass;
 
40
 
 
41
struct _GdlDockNotebook {
 
42
    GdlDockItem  item;
 
43
};
 
44
 
 
45
struct _GdlDockNotebookClass {
 
46
    GdlDockItemClass  parent_class;
 
47
};
 
48
 
 
49
 
 
50
/* public interface */
 
51
 
 
52
GtkWidget     *gdl_dock_notebook_new               (void);
 
53
 
 
54
GType          gdl_dock_notebook_get_type          (void);
 
55
 
 
56
G_END_DECLS
 
57
 
 
58
#endif
 
59