[ghex] findrep: Remove spurious g_object_ref() call.



commit dd5b5bb8f9c907d66b14e8a5de5f540b97756ed9
Author: Logan Rathbone <poprocks gmail com>
Date:   Sun Jun 12 13:43:30 2022 -0400

    findrep: Remove spurious g_object_ref() call.

 src/findreplace.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/findreplace.c b/src/findreplace.c
index b81c6f0..0233c32 100644
--- a/src/findreplace.c
+++ b/src/findreplace.c
@@ -126,7 +126,6 @@ create_hex_view (HexDocument *doc)
        GtkWidget *gh;
 
        gh = hex_widget_new (doc);
-       g_object_ref (gh);
 
        gtk_widget_set_hexpand (gh, TRUE);
        hex_widget_set_group_type (HEX_WIDGET(gh), def_group_type);


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