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



commit ddc6eca7463caec1af98636be67cd04ca48cc01c
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 94a89b7..20566a0 100644
--- a/src/findreplace.c
+++ b/src/findreplace.c
@@ -121,7 +121,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]