summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d82df75)
raw | patch | inline | side by side (parent: d82df75)
author | joncruz <joncruz@users.sourceforge.net> | |
Sat, 18 Apr 2009 08:15:20 +0000 (08:15 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sat, 18 Apr 2009 08:15:20 +0000 (08:15 +0000) |
src/widgets/icon.cpp | patch | blob | history |
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp
index f648a9440a741cc4cc867e961e655f6186d7105c..057f30a50fa9ee7418d1a234b9ea6a16165ff4fd 100644 (file)
--- a/src/widgets/icon.cpp
+++ b/src/widgets/icon.cpp
GtkWidget &widget = *GTK_WIDGET(icon);
GdkPixbuf *image = icon->pb;
bool unref_image = false;
-
+
/* copied from the expose function of GtkImage */
if (GTK_WIDGET_STATE (icon) != GTK_STATE_NORMAL && image) {
GtkIconSource *source = gtk_icon_source_new();
GDK_RGB_DITHER_NORMAL, x, y);
}
}
-
+
if (unref_image) g_object_unref(G_OBJECT(image));
}
if (!info &&
Inkscape::IO::file_test( doc_filename, G_FILE_TEST_IS_REGULAR ) &&
(doc = sp_document_new( doc_filename, FALSE )) ) {
-
+
//g_message("Loaded icon file %s", doc_filename);
// prep the document
sp_document_ensure_up_to_date(doc);