summaryrefslogtreecommitdiff
path: root/src/gtkext/hexdisplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/hexdisplay.c')
-rw-r--r--src/gtkext/hexdisplay.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gtkext/hexdisplay.c b/src/gtkext/hexdisplay.c
index 685fc81..0f0bd30 100644
--- a/src/gtkext/hexdisplay.c
+++ b/src/gtkext/hexdisplay.c
@@ -321,10 +321,7 @@ static void gtk_hex_display_populate_cache(GtkHexDisplay *display)
g_buffer_cache_truncate(display->cache, needed);
else if (needed > count)
- {
- g_object_ref(G_OBJECT(display->generator));
g_buffer_cache_extend_with(display->cache, needed, G_LINE_GENERATOR(display->generator));
- }
if (needed != count)
gtk_widget_queue_resize(GTK_WIDGET(display));