[libgd/wip/ernestask/gtk4: 26/33] notification: remove include_internals from forall()



commit 427af98071d1448e990bc501855347d02489c228
Author: Ernestas Kulik <ernestask gnome org>
Date:   Sat Mar 10 22:05:19 2018 +0200

    notification: remove include_internals from forall()
    
    The parameter no longer exists.

 libgd/gd-notification.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgd/gd-notification.c b/libgd/gd-notification.c
index 376913b..a93b321 100644
--- a/libgd/gd-notification.c
+++ b/libgd/gd-notification.c
@@ -378,7 +378,6 @@ gd_notification_get_property (GObject *object, guint prop_id, GValue *value, GPa
 
 static void
 gd_notification_forall (GtkContainer *container,
-                         gboolean      include_internals,
                          GtkCallback   callback,
                          gpointer      callback_data)
 {
@@ -391,7 +390,7 @@ gd_notification_forall (GtkContainer *container,
   if (child)
     (* callback) (child, callback_data);
 
-  if (include_internals)
+  if (priv->close_button)
     (* callback) (priv->close_button, callback_data);
 }
 


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