Code

Base implementation of a layers dialog.
[inkscape.git] / src / inkscape-stock.cpp
1 /*
2  * @file inkscape-stock.h GTK+ Stock resources
3  *
4  * Authors:
5  *   Robert Crosbie
6  *
7  * Copyright (C) 1999-2002 Authors
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22  */
24 #include "gtk/gtkiconfactory.h"
27 void
28 inkscape_gtk_stock_init() {
29     static bool stock_initialized = false;
31     if (stock_initialized)
32         return;
34     GtkIconFactory *icon_factory = gtk_icon_factory_new();
35     /* todo: Should we simply remove this file now that we're no longer
36      * calling gtk_icon_factory_add here? */
37     gtk_icon_factory_add_default(icon_factory);
39     stock_initialized = true;
40 }
42 /*
43   Local Variables:
44   mode:c++
45   c-file-style:"stroustrup"
46   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
47   indent-tabs-mode:nil
48   fill-column:99
49   End:
50 */
51 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :