[gtk+/wip/gmenu: 57/87] Remove a redundant test
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gmenu: 57/87] Remove a redundant test
- Date: Sat, 3 Dec 2011 23:52:56 +0000 (UTC)
commit 1c40b54b19c3006e8e7158e6e6c641d616d7a056
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 1 08:51:22 2011 -0500
Remove a redundant test
gtk/gtkapplicationmenubutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkapplicationmenubutton.c b/gtk/gtkapplicationmenubutton.c
index 2ce75d0..add0f38 100644
--- a/gtk/gtkapplicationmenubutton.c
+++ b/gtk/gtkapplicationmenubutton.c
@@ -180,7 +180,7 @@ gtk_application_menu_button_hierarchy_changed (GtkWidget *widget,
toplevel = gtk_widget_get_toplevel (widget);
- if (toplevel != NULL && GTK_IS_APPLICATION_WINDOW (toplevel))
+ if (GTK_IS_APPLICATION_WINDOW (toplevel))
gtk_application_window_set_show_app_menu (GTK_APPLICATION_WINDOW (toplevel), FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]