diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2022-11-14 15:48:59 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2022-11-14 15:48:59 +0200 |
commit | 8c4875c0a4e034c79e2d90018c66736009d85d75 (patch) | |
tree | 3e0a6e3682b1eda03cf55caa8252d3e710f76816 | |
parent | 81eb6599391bd02e90af312fd1ffd8f859d92f1f (diff) | |
download | gimp-plugin-img-8c4875c0a4e034c79e2d90018c66736009d85d75.tar.gz |
Remove unused variables
-rw-r--r-- | img-save-dialog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/img-save-dialog.c b/img-save-dialog.c index f5335a2..463a736 100644 --- a/img-save-dialog.c +++ b/img-save-dialog.c @@ -63,12 +63,10 @@ on_ckey_use (GtkWidget * widget, gpointer data) static gboolean on_image_click (GtkWidget * widget, GdkEventButton * event, gpointer data) { - int width, height, rowstride, n_channels; + int rowstride, n_channels; guchar *pixels, *p; n_channels = gdk_pixbuf_get_n_channels (pixbuf); - width = gdk_pixbuf_get_width (pixbuf); - height = gdk_pixbuf_get_height (pixbuf); rowstride = gdk_pixbuf_get_rowstride (pixbuf); pixels = gdk_pixbuf_get_pixels (pixbuf); p = pixels + (int) (event->y * rowstride) + (int) (event->x * n_channels); |