[notification-daemon] nd-queue: don't use gtk_scrolled_window_add_with_viewport



commit c3335cf42fc2515295495e2463ae8ef57173412f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Jul 11 17:16:22 2015 +0300

    nd-queue: don't use gtk_scrolled_window_add_with_viewport

 src/nd-queue.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/nd-queue.c b/src/nd-queue.c
index 6d5d858..7d72bfe 100644
--- a/src/nd-queue.c
+++ b/src/nd-queue.c
@@ -666,8 +666,9 @@ update_dock (NdQueue *queue)
                 gtk_container_remove (GTK_CONTAINER (queue->priv->dock_scrolled_window), child);
 
         child = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
-        gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (queue->priv->dock_scrolled_window),
-                                               child);
+        gtk_container_add (GTK_CONTAINER (queue->priv->dock_scrolled_window),
+                           child);
+
         gtk_container_set_focus_hadjustment (GTK_CONTAINER (child),
                                              gtk_scrolled_window_get_hadjustment (GTK_SCROLLED_WINDOW 
(queue->priv->dock_scrolled_window)));
         gtk_container_set_focus_vadjustment (GTK_CONTAINER (child),


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