Mercurial > geeqie
annotate src/window.h @ 1367:fe4da037be21
When g_new0() is used, drop redundant initializations to NULL, FALSE or 0, second pass.
| author | zas_ |
|---|---|
| date | Sun, 01 Mar 2009 23:14:19 +0000 |
| parents | 8b89e3ff286b |
| children | bc3f5c0432f6 |
| rev | line source |
|---|---|
| 648 | 1 /* |
| 2 * Geeqie | |
| 1284 | 3 * Copyright (C) 2008 - 2009 The Geeqie Team |
| 648 | 4 * |
| 5 * Authors: Vladimir Nadvornik / Laurent Monin | |
| 6 * | |
| 7 * | |
| 8 * This software is released under the GNU General Public License (GNU GPL). | |
| 9 * Please read the included file COPYING for more information. | |
| 10 * This software comes with no warranty of any kind, use at your own risk! | |
| 11 */ | |
| 12 | |
| 13 #ifndef WINDOW_H | |
| 14 #define WINDOW_H | |
| 15 | |
|
1175
2518a4a73d89
Rename wmsubclass and name to role, which corresponds better to the purpose of the parameter as it ends to be passed to gtk_window_set_role().
zas_
parents:
1055
diff
changeset
|
16 GtkWidget *window_new(GtkWindowType type, const gchar *role, const gchar *icon, |
| 648 | 17 const gchar *icon_file, const gchar *subtitle); |
| 18 void window_set_icon(GtkWidget *window, const gchar *icon, const gchar *file); | |
| 19 gint window_maximized(GtkWidget *window); | |
| 20 | |
| 21 void help_window_show(const gchar *key); | |
| 22 | |
| 23 | |
| 24 #endif /* WINDOW_H */ | |
|
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
648
diff
changeset
|
25 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |
