3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program 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
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef _PIDGINGTK3COMPAT_H_
23 #define _PIDGINGTK3COMPAT_H_
26 * @section_id: pidgin-gtk3compat
27 * @short_description: <filename>gtk3compat.h</filename>
28 * @title: GTK3 version-dependent definitions
30 * This file is internal to Pidgin. Do not use!
31 * Also, any public API should not depend on this file.
36 #if !GTK_CHECK_VERSION(3,16,0)
39 gtk_label_set_xalign(GtkLabel
*label
, gfloat xalign
)
41 g_object_set(label
, "xalign", xalign
, NULL
);
45 gtk_label_set_yalign(GtkLabel
*label
, gfloat yalign
)
47 g_object_set(label
, "yalign", yalign
, NULL
);
52 #endif /* _PIDGINGTK3COMPAT_H_ */