From 052d95c9060793e8d5b6049cfb5200e01dd49dc5 Mon Sep 17 00:00:00 2001 From: William Skaggs Date: Sun, 5 Jun 2005 15:50:20 +0000 Subject: [PATCH] Bill Skaggs * plug-ins/common/screenshot.c: make " no decorations" option work; problem pointed out by Jean-Luc Coulon on dev list. --- ChangeLog | 5 +++++ plug-ins/common/screenshot.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 646430bff1..60b288162a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-05 Bill Skaggs + + * plug-ins/common/screenshot.c: make " no decorations" option + work; problem pointed out by Jean-Luc Coulon on dev list. + 2005-06-05 Sven Neumann * app/widgets/gimpviewrendererbrush.c diff --git a/plug-ins/common/screenshot.c b/plug-ins/common/screenshot.c index 5d71ff5d51..5cfa281f43 100644 --- a/plug-ins/common/screenshot.c +++ b/plug-ins/common/screenshot.c @@ -447,7 +447,9 @@ select_window_x11 (GdkScreen *screen) x_win = x_root; #ifdef HAVE_X11_XMU_WINUTIL_H else if (! shootvals.decorate) - x_win = XmuClientWindow (x_dpy, x_win); + { + x_win = XmuClientWindow (x_dpy, x_win); + } #endif shootvals.x2 = shootvals.x1 = x_event.xbutton.x_root; @@ -839,7 +841,7 @@ shoot_dialog (GdkScreen **screen) g_object_set_data (G_OBJECT (button), "set_sensitive", toggle); - g_signal_connect (button, "toggled", + g_signal_connect (toggle, "toggled", G_CALLBACK (gimp_toggle_button_update), &shootvals.decorate);