[gtk/function-annotations: 13/17] Annotate gtk_accelerator_get_default_mod_mask as const




commit 5bfac597f649f571ed11fb42927dde3249b932c0
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 14 13:12:41 2021 -0400

    Annotate gtk_accelerator_get_default_mod_mask as const

 gtk/gtkaccelgroup.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkaccelgroup.h b/gtk/gtkaccelgroup.h
index 54ddba5bc1..9f536e1e3b 100644
--- a/gtk/gtkaccelgroup.h
+++ b/gtk/gtkaccelgroup.h
@@ -67,7 +67,7 @@ char *   gtk_accelerator_get_label_with_keycode (GdkDisplay      *display,
                                                  guint            keycode,
                                                  GdkModifierType  accelerator_mods);
 GDK_AVAILABLE_IN_ALL
-GdkModifierType gtk_accelerator_get_default_mod_mask (void);
+GdkModifierType gtk_accelerator_get_default_mod_mask (void) G_GNUC_CONST;
 
 
 G_END_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]