pidgin/win32/gtkwin32dep.c

changeset 29362
f5768aad49af
parent 24053
4ef3a40e1d9e
child 29701
6c95c4bd2241
equal deleted inserted replaced
29361:c73b60e914bb 29362:f5768aad49af
155 memset(&wsinfo, 0, sizeof(wsinfo)); 155 memset(&wsinfo, 0, sizeof(wsinfo));
156 wsinfo.cbSize = sizeof(wsinfo); 156 wsinfo.cbSize = sizeof(wsinfo);
157 wsinfo.lpVerb = w_verb; 157 wsinfo.lpVerb = w_verb;
158 wsinfo.lpFile = w_uri; 158 wsinfo.lpFile = w_uri;
159 wsinfo.nShow = SW_SHOWNORMAL; 159 wsinfo.nShow = SW_SHOWNORMAL;
160 wsinfo.fMask |= SEE_MASK_FLAG_NO_UI;
160 if (clazz != NULL) { 161 if (clazz != NULL) {
161 w_clazz = g_utf8_to_utf16(clazz, -1, NULL, NULL, NULL); 162 w_clazz = g_utf8_to_utf16(clazz, -1, NULL, NULL, NULL);
162 wsinfo.fMask |= SEE_MASK_CLASSNAME; 163 wsinfo.fMask |= SEE_MASK_CLASSNAME;
163 wsinfo.lpClass = w_clazz; 164 wsinfo.lpClass = w_clazz;
164 } 165 }
179 memset(&sinfo, 0, sizeof(sinfo)); 180 memset(&sinfo, 0, sizeof(sinfo));
180 sinfo.cbSize = sizeof(sinfo); 181 sinfo.cbSize = sizeof(sinfo);
181 sinfo.lpVerb = verb; 182 sinfo.lpVerb = verb;
182 sinfo.lpFile = locale_uri; 183 sinfo.lpFile = locale_uri;
183 sinfo.nShow = SW_SHOWNORMAL; 184 sinfo.nShow = SW_SHOWNORMAL;
185 sinfo.fMask |= SEE_MASK_FLAG_NO_UI;
184 if (clazz != NULL) { 186 if (clazz != NULL) {
185 sinfo.fMask |= SEE_MASK_CLASSNAME; 187 sinfo.fMask |= SEE_MASK_CLASSNAME;
186 sinfo.lpClass = clazz; 188 sinfo.lpClass = clazz;
187 } 189 }
188 190

mercurial