[gnome-packagekit] Drop old references to now-missing button_quit widget



commit 594d57cce95be637eecaf29c1010a5844270557e
Author: Matthias Klumpp <matthias tenstral net>
Date:   Wed Jul 20 20:39:56 2022 +0200

    Drop old references to now-missing button_quit widget
    
    This was leading to assertion failures before.

 src/gpk-update-viewer.c | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 67e15f09..eb04ab13 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -446,10 +446,6 @@ gpk_update_viewer_update_packages_cb (PkTask *_task, GAsyncResult *res, gpointer
                goto out;
        }
 
-       /* hide close button */
-       widget = GTK_WIDGET(gtk_builder_get_object (builder, "button_quit"));
-       gtk_widget_hide (widget);
-
        /* show a new title */
        widget = GTK_WIDGET(gtk_builder_get_object (builder, "label_header_title"));
        /* TRANSLATORS: completed all updates */
@@ -1225,10 +1221,6 @@ gpk_update_viewer_modal_error_with_timeout (const gchar *title, const gchar *mes
        GtkWidget *widget;
        g_autofree gchar *text = NULL;
 
-       /* hide close button */
-       widget = GTK_WIDGET(gtk_builder_get_object (builder, "button_quit"));
-       gtk_widget_hide (widget);
-
        /* show a new title */
        widget = GTK_WIDGET(gtk_builder_get_object (builder, "label_header_title"));
        /* TRANSLATORS: there are no updates */


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