Mercurial > dwindows
comparison gtk/dw.c @ 1894:ed377fd16360
Fix some warnings reported by clang on FreeBSD in the GTK modules.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 18 Oct 2013 10:59:37 +0000 |
parents | 09860ba329a4 |
children | 969f7bbc0ff5 |
comparison
equal
deleted
inserted
replaced
1893:c6b47f3db988 | 1894:ed377fd16360 |
---|---|
9169 * Note: This does nothing on GTK+ as transparency | 9169 * Note: This does nothing on GTK+ as transparency |
9170 * is handled automatically | 9170 * is handled automatically |
9171 */ | 9171 */ |
9172 void dw_pixmap_set_transparent_color(HPIXMAP pixmap, unsigned long color) | 9172 void dw_pixmap_set_transparent_color(HPIXMAP pixmap, unsigned long color) |
9173 { | 9173 { |
9174 int _locked_by_me = FALSE; | |
9175 | |
9176 DW_MUTEX_LOCK; | |
9177 pixmap = pixmap; | |
9178 color = color; | |
9179 DW_MUTEX_UNLOCK; | |
9180 } | 9174 } |
9181 | 9175 |
9182 /* | 9176 /* |
9183 * Creates a pixmap from internal resource graphic specified by id. | 9177 * Creates a pixmap from internal resource graphic specified by id. |
9184 * Parameters: | 9178 * Parameters: |
11107 height = frame.height; | 11101 height = frame.height; |
11108 } | 11102 } |
11109 } | 11103 } |
11110 else | 11104 else |
11111 { | 11105 { |
11112 int cx , cy; | |
11113 | |
11114 /* Check if we have cached frame size values */ | 11106 /* Check if we have cached frame size values */ |
11115 if(!(cx | cy)) | 11107 if(!(cx | cy)) |
11116 { | 11108 { |
11117 /* If not try to ask the window manager for the estimated size... | 11109 /* If not try to ask the window manager for the estimated size... |
11118 * and finally if all else fails, guess. | 11110 * and finally if all else fails, guess. |