Mercurial > geeqie.yaz
annotate src/compat.h @ 1721:728aa6bf4988
fixed emitting of error signal from image loader
author | nadvornik |
---|---|
date | Thu, 24 Sep 2009 18:02:29 +0000 |
parents | babd4142523f |
children |
rev | line source |
---|---|
457
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
1 /* |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
2 * Geeqie |
1284 | 3 * Copyright (C) 2008 - 2009 The Geeqie Team |
457
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
4 * |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
5 * Authors: Vladimir Nadvornik / Laurent Monin |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
6 * |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
7 * |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
8 * This software is released under the GNU General Public License (GNU GPL). |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
9 * Please read the included file COPYING for more information. |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
10 * This software comes with no warranty of any kind, use at your own risk! |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
11 */ |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
12 |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
13 #ifndef COMPAT_H |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
14 #define COMPAT_H |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
15 |
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
16 void radio_action_set_current_value(GtkRadioAction *action, gint current_value); |
1574 | 17 GList* hash_table_get_keys(GHashTable *hash_table); |
18 | |
19 #if !GTK_CHECK_VERSION(2,12,0) | |
20 #define gtk_widget_set_tooltip_text(widget, text) /* ignored */ | |
21 #endif | |
22 | |
457
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
23 |
1685
babd4142523f
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
zas_
parents:
1574
diff
changeset
|
24 /* Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS */ |
babd4142523f
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
zas_
parents:
1574
diff
changeset
|
25 #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) |
babd4142523f
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
zas_
parents:
1574
diff
changeset
|
26 #define MAP_ANONYMOUS MAP_ANON |
babd4142523f
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
zas_
parents:
1574
diff
changeset
|
27 #elif defined(MAP_ANONYMOUS) && !defined(MAP_ANON) |
babd4142523f
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
zas_
parents:
1574
diff
changeset
|
28 #define MAP_ANON MAP_ANONYMOUS |
babd4142523f
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
zas_
parents:
1574
diff
changeset
|
29 #endif |
babd4142523f
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
zas_
parents:
1574
diff
changeset
|
30 |
babd4142523f
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
zas_
parents:
1574
diff
changeset
|
31 |
457
5e9c24d3b3a8
Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff
changeset
|
32 #endif /* COMPAT_H */ |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
475
diff
changeset
|
33 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |