[gtk/wip/otte/dnd: 18/22] levelbar: Guard function by right compiler macros
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/dnd: 18/22] levelbar: Guard function by right compiler macros
- Date: Sat, 22 Feb 2020 06:39:10 +0000 (UTC)
commit eb701736469aef18aa7d55813d1d7e43a0026763
Author: Benjamin Otte <otte redhat com>
Date: Sat Feb 22 07:01:38 2020 +0100
levelbar: Guard function by right compiler macros
gtk/gtklevelbar.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtklevelbar.c b/gtk/gtklevelbar.c
index fc5ac8fb69..98bc590526 100644
--- a/gtk/gtklevelbar.c
+++ b/gtk/gtklevelbar.c
@@ -276,6 +276,7 @@ gtk_level_bar_ensure_offset (GtkLevelBar *self,
return TRUE;
}
+#ifndef G_DISABLE_CHECKS
static gboolean
gtk_level_bar_value_in_interval (GtkLevelBar *self,
gdouble value)
@@ -285,6 +286,7 @@ gtk_level_bar_value_in_interval (GtkLevelBar *self,
return ((value >= priv->min_value) &&
(value <= priv->max_value));
}
+#endif
static gint
gtk_level_bar_get_num_blocks (GtkLevelBar *self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]