diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-05-11 21:33:36 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-05-11 21:33:36 (GMT) |
commit | d2861533cc53fbcc217048bafebf34b1f70ba3aa (patch) | |
tree | 28c847a8093761fcaa0916be54445328d843096d /src/gtkext | |
parent | 6c9e1b5f7ee0915036d47b83f1e34b87b44b1723 (diff) |
Updated the API for buffer caches.
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/hexdisplay.c | 3 |
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)); |