[gtk+] overlay: Remove unused NULL-check
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] overlay: Remove unused NULL-check
- Date: Fri, 20 Oct 2017 14:27:50 +0000 (UTC)
commit afea2545265faf660ef0720394eb4e1773bc5ab0
Author: Timm Bäder <mail baedert org>
Date: Fri Oct 20 15:12:28 2017 +0200
overlay: Remove unused NULL-check
gtk/gtkoverlay.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkoverlay.c b/gtk/gtkoverlay.c
index 85d918c..6ae2964 100644
--- a/gtk/gtkoverlay.c
+++ b/gtk/gtkoverlay.c
@@ -173,8 +173,7 @@ gtk_overlay_get_main_widget_allocation (GtkOverlay *overlay,
main_alloc.height = gtk_widget_get_allocated_height (GTK_WIDGET (overlay));
}
- if (main_alloc_out)
- *main_alloc_out = main_alloc;
+ *main_alloc_out = main_alloc;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]