summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/image.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/image.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/Gadu-Gadu/src/image.cpp b/protocols/Gadu-Gadu/src/image.cpp
index abcd765e88..15006095aa 100644
--- a/protocols/Gadu-Gadu/src/image.cpp
+++ b/protocols/Gadu-Gadu/src/image.cpp
@@ -929,15 +929,10 @@ int GGPROTO::img_display(HANDLE hContact, void *img)
gg_LeaveCriticalSection(&img_mutex, "img_display", 60, 1, "img_mutex", 1);
SendMessage(dat->hWnd, WM_ADDIMAGE, 0, (LPARAM)img);
- if (/*db_get_b(NULL, "Chat", "FlashWindowHighlight", 0) != 0 && */
+ if (/*db_get_b(NULL, "Chat", "bFlashWindowHighlight", 0) != 0 && */
GetActiveWindow() != dat->hWnd && GetForegroundWindow() != dat->hWnd)
SetTimer(dat->hWnd, TIMERID_FLASHWND, 900, NULL);
- /* DEPRECATED: No more grabbing the focus... just flashing
- SetForegroundWindow(dat->hWnd);
- SetFocus(dat->hWnd);
- */
-
return TRUE;
}