summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkbinarystrip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/gtkbinarystrip.c')
-rw-r--r--src/gtkext/gtkbinarystrip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gtkext/gtkbinarystrip.c b/src/gtkext/gtkbinarystrip.c
index 1cf2450..fff6a78 100644
--- a/src/gtkext/gtkbinarystrip.c
+++ b/src/gtkext/gtkbinarystrip.c
@@ -233,6 +233,7 @@ static void gtk_binary_strip_size_allocate(GtkWidget *widget, GtkAllocation *all
strip->cursor_pos = 0;
g_object_unref(G_OBJECT(layer));
+ g_object_unref(G_OBJECT(format));
}
@@ -290,6 +291,7 @@ static gboolean gtk_binary_strip_button_release(GtkWidget *widget, GdkEventButto
}
g_object_unref(G_OBJECT(layer));
+ g_object_unref(G_OBJECT(format));
return FALSE;
@@ -338,6 +340,7 @@ static gboolean gtk_binary_strip_draw(GtkWidget *widget, cairo_t *cr)
g_portion_layer_draw(layer, context, cr, &full);
g_object_unref(G_OBJECT(layer));
+ g_object_unref(G_OBJECT(format));
/* Dessin de la position */
@@ -412,6 +415,7 @@ static gboolean gtk_binary_strip_query_tooltip(GtkWidget *widget, gint x, gint y
result = g_portion_layer_query_tooltip(layer, x, y, &area, tooltip);
g_object_unref(G_OBJECT(layer));
+ g_object_unref(G_OBJECT(format));
}
else result = FALSE;