~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/icon-size.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SEEN_ICON_SIZE_H
 
2
#define SEEN_ICON_SIZE_H
 
3
 
 
4
/*
 
5
 * Generic icon widget
 
6
 *
 
7
 * Author:
 
8
 *   Lauris Kaplinski <lauris@kaplinski.com>
 
9
 *
 
10
 * Copyright (C) 2002 Lauris Kaplinski
 
11
 *
 
12
 * Released under GNU GPL, read the file 'COPYING' for more information
 
13
 */
 
14
 
 
15
#include <glib.h>
 
16
 
 
17
#include <gtk/gtkenums.h>
 
18
 
 
19
namespace Inkscape {
 
20
 
 
21
    enum IconSize {
 
22
        ICON_SIZE_INVALID = ::GTK_ICON_SIZE_INVALID,
 
23
        ICON_SIZE_MENU = ::GTK_ICON_SIZE_MENU,
 
24
        ICON_SIZE_SMALL_TOOLBAR = ::GTK_ICON_SIZE_SMALL_TOOLBAR,
 
25
        ICON_SIZE_LARGE_TOOLBAR = ::GTK_ICON_SIZE_LARGE_TOOLBAR,
 
26
        ICON_SIZE_BUTTON = ::GTK_ICON_SIZE_BUTTON,
 
27
        ICON_SIZE_DND = ::GTK_ICON_SIZE_DND,
 
28
        ICON_SIZE_DIALOG = ::GTK_ICON_SIZE_DIALOG,
 
29
        ICON_SIZE_DECORATION
 
30
    };
 
31
 
 
32
    GtkIconSize getRegisteredIconSize( IconSize size );
 
33
} // namespace Inkscape
 
34
 
 
35
#endif // SEEN_ICON_SIZE_H