}
g_list_free(list);
- if (0)
+#if 0
+ if (x%512 == 0 && y%512 == 0)
{
- static gint count = 0;
PangoLayout *layout;
gchar *buf;
pixbuf_draw_layout(pixbuf, layout, (GtkWidget *)pr, 0, 0, 0, 0, 0, 255);
g_object_unref(G_OBJECT(layout));
-
- count++;
}
+#endif
return TRUE;
}
PanWindow *pw = data;
gchar *text;
-#if 0
- text = image_zoom_get_as_text(imd);
-#endif
- text = g_strdup_printf("%.2f", zoom);
+ text = image_zoom_get_as_text(pw->imd);
gtk_label_set_text(GTK_LABEL(pw->label_zoom), text);
g_free(text);
}