[gtranslator/gtk4: 20/52] Remove not needed utils functions




commit 7d0f60e9d2c2561c03a58420747460316d7e116d
Author: Daniel GarcĂ­a Moreno <dani danigm net>
Date:   Mon Jun 13 08:45:40 2022 +0200

    Remove not needed utils functions
    
    These functions were added after a merge with conflicts but we don't
    need these functions anymore so we can remove.

 src/gtr-utils.c | 18 ------------------
 1 file changed, 18 deletions(-)
---
diff --git a/src/gtr-utils.c b/src/gtr-utils.c
index 1073f0f2..80f13a8e 100644
--- a/src/gtr-utils.c
+++ b/src/gtr-utils.c
@@ -804,24 +804,6 @@ pango_font_description_to_css (PangoFontDescription *desc)
   return g_string_free (s, FALSE);
 }
 
-void
-gtk_box_append (GtkBox *box, GtkWidget *child)
-{
-  gtk_container_add (GTK_CONTAINER (box), child);
-}
-
-void
-gtk_list_box_append (GtkListBox *box, GtkWidget *child)
-{
-  gtk_container_add (GTK_CONTAINER (box), child);
-}
-
-void
-gtk_list_box_remove (GtkListBox *box, GtkWidget *child)
-{
-  gtk_container_remove (GTK_CONTAINER (box), child);
-}
-
 // TODO: Improve this parser, this string parsing is weak
 // It could be better to use GRegex: https://docs.gtk.org/glib/method.Regex.match.html
 int


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