[gimp/metadata-browser] app: remove "foo && " from "foo && GTK_IS_FOO (foo)"
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: remove "foo && " from "foo && GTK_IS_FOO (foo)"
- Date: Fri, 2 Dec 2011 02:15:08 +0000 (UTC)
commit fad9e3eaa82719f02d6245c91967fb79a096b313
Author: Michael Natterer <mitch gimp org>
Date: Sun Oct 9 00:18:56 2011 +0200
app: remove "foo && " from "foo && GTK_IS_FOO (foo)"
app/widgets/gimpdialogfactory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpdialogfactory.c b/app/widgets/gimpdialogfactory.c
index 8150024..ad49791 100644
--- a/app/widgets/gimpdialogfactory.c
+++ b/app/widgets/gimpdialogfactory.c
@@ -609,7 +609,7 @@ gimp_dialog_factory_dialog_new_internal (GimpDialogFactory *factory,
toplevel = gtk_widget_get_toplevel (dialog);
}
- if (present && toplevel != NULL && GTK_IS_WINDOW (toplevel))
+ if (present && GTK_IS_WINDOW (toplevel))
gtk_window_present (GTK_WINDOW (toplevel));
return dialog;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]