mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
update SRC_URI (redirect) add RDEP inherited from gtk+ patches : remove use of bool key remove debug compiler flag Closes: https://bugs.gentoo.org/944281 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43502 Closes: https://github.com/gentoo/gentoo/pull/43502 Signed-off-by: Sam James <sam@gentoo.org>
31 lines
1 KiB
Diff
31 lines
1 KiB
Diff
reported https://sourceforge.net/p/pidgin-hotkeys/patches/8/
|
|
bool is a keyword since c23, use boolean instead
|
|
--- a/src/hotkeys.c
|
|
+++ b/src/hotkeys.c
|
|
@@ -216,21 +216,21 @@ free_keys(GtkWidget* widget)
|
|
static void
|
|
hotkey_set_bool(GtkWidget *widget, HotkeyEntry* key)
|
|
{
|
|
- gboolean bool;
|
|
+ gboolean boolean;
|
|
GdkDisplay* display;
|
|
GdkWindow* root;
|
|
|
|
- bool = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget));
|
|
- purple_prefs_set_bool(key->use_pref, bool);
|
|
+ boolean = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget));
|
|
+ purple_prefs_set_bool(key->use_pref, boolean);
|
|
|
|
- key->enable = bool;
|
|
+ key->enable = boolean;
|
|
|
|
if (key->code)
|
|
{
|
|
display = widget ? gtk_widget_get_display(widget) : gdk_display_get_default();
|
|
root = widget ? gtk_widget_get_root_window(widget) : gdk_get_default_root_window();
|
|
|
|
- if (bool && grab_key(display, root, key))
|
|
+ if (boolean && grab_key(display, root, key))
|
|
reconfig_blist(key - hotkeys);
|
|
else
|
|
{
|