diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-04-18 08:15:20 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-04-18 08:15:20 +0000 |
| commit | 35b6d365759fd23b1faa85ca2badab024c932be3 (patch) | |
| tree | 2fa02bc22c8f14c0a1ff717ff712a6cf019d6aa4 /src/widgets | |
| parent | Fixed broken build. (diff) | |
| download | inkscape-35b6d365759fd23b1faa85ca2badab024c932be3.tar.gz inkscape-35b6d365759fd23b1faa85ca2badab024c932be3.zip | |
Whitespace cleanup
(bzr r7729)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/icon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp index f648a9440..057f30a50 100644 --- a/src/widgets/icon.cpp +++ b/src/widgets/icon.cpp @@ -511,7 +511,7 @@ static void sp_icon_paint(SPIcon *icon, GdkRectangle const *area) 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(); @@ -536,7 +536,7 @@ static void sp_icon_paint(SPIcon *icon, GdkRectangle const *area) GDK_RGB_DITHER_NORMAL, x, y); } } - + if (unref_image) g_object_unref(G_OBJECT(image)); } @@ -788,7 +788,7 @@ static guchar *load_svg_pixels(gchar const *name, 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); |
