summaryrefslogtreecommitdiff
path: root/src/xsane-email-project.c
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:51 +0000
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:51 +0000
commited1d7afab34d41b155ac701ee9db87c3f057b99b (patch)
treeda1f7a34e4eabf92200a567910f9470d10b78e0c /src/xsane-email-project.c
parentdc7150ada6000f0c8e6ee61da9598573d3b63b7f (diff)
Imported Upstream version 0.997upstream/0.997
Diffstat (limited to 'src/xsane-email-project.c')
-rw-r--r--src/xsane-email-project.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xsane-email-project.c b/src/xsane-email-project.c
index c7451ee..87b6574 100644
--- a/src/xsane-email-project.c
+++ b/src/xsane-email-project.c
@@ -183,6 +183,7 @@ void xsane_email_dialog()
pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask);
gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2);
gdk_drawable_unref(pixmap);
+ gdk_drawable_unref(mask);
text = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(text), 128);
@@ -208,6 +209,7 @@ void xsane_email_dialog()
pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask);
gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2);
gdk_drawable_unref(pixmap);
+ gdk_drawable_unref(mask);
text = gtk_entry_new();
xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_EMAIL_SUBJECT);