[gnome-logs] Replace redundant uses of gtk_widget_show
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] Replace redundant uses of gtk_widget_show
- Date: Mon, 28 Mar 2022 16:44:01 +0000 (UTC)
commit 32f5beba81274d612c34c99c4410d4b2e89b3864
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Mon Oct 11 23:15:19 2021 +0200
Replace redundant uses of gtk_widget_show
src/gl-eventviewlist.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/gl-eventviewlist.c b/src/gl-eventviewlist.c
index 205a583..1d3efd9 100644
--- a/src/gl-eventviewlist.c
+++ b/src/gl-eventviewlist.c
@@ -182,7 +182,6 @@ listbox_update_header_func (GtkListBoxRow *row,
if (current == NULL)
{
current = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
- gtk_widget_show (current);
gtk_list_box_row_set_header (row, current);
}
}
@@ -194,7 +193,6 @@ listbox_update_header_func (GtkListBoxRow *row,
if (current == NULL)
{
current = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
- gtk_widget_show (current);
gtk_list_box_row_set_header (row, current);
}
}
@@ -449,8 +447,6 @@ gl_event_view_create_empty (G_GNUC_UNUSED GlEventViewList *view)
* view. */
adw_status_page_set_title (ADW_STATUS_PAGE (status_page), _("No Results"));
- gtk_widget_show (status_page);
-
return status_page;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]