Changeset 419
- Timestamp:
- Feb 11, 2013, 10:00:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.cc
r418 r419 317 317 318 318 319 /* 319 /* 320 320 * Find first member in GHashTable* depending on version of glib 321 321 */ … … 1203 1203 NPVariant href; 1204 1204 NPIdentifier href_id = browser_functions.getstringidentifier("href"); 1205 browser_functions.getproperty(instance, NPVARIANT_TO_OBJECT(location), 1205 browser_functions.getproperty(instance, NPVARIANT_TO_OBJECT(location), 1206 1206 href_id, &href); 1207 1207 … … 1826 1826 * Replaces certain characters (\r, \n, etc) with HTML escape equivalents. 1827 1827 * 1828 * Return string is allocated on the heap. Caller assumes responsibility 1828 * Return string is allocated on the heap. Caller assumes responsibility 1829 1829 * for freeing the memory via free() 1830 1830 */ … … 1862 1862 orig_char[0] = to_encode[i]; 1863 1863 orig_char[1] = '\0'; 1864 1864 1865 1865 strcat(encoded, orig_char); 1866 1866 1867 1867 free(orig_char); 1868 1868 orig_char = NULL; … … 2354 2354 #endif 2355 2355 2356 // Re-setting the above tables multiple times is OK (as the 2357 // browser may change its function locations). However 2356 // Re-setting the above tables multiple times is OK (as the 2357 // browser may change its function locations). However 2358 2358 // anything beyond this point should only run once. 2359 2359 if (initialized) … … 2369 2369 #endif 2370 2370 2371 NPError np_error = NPERR_NO_ERROR; 2371 2372 #ifndef __OS2__ 2372 2373 // Make sure the plugin data directory exists, creating it if … … 2378 2379 return NPERR_OUT_OF_MEMORY_ERROR; 2379 2380 } 2380 NPError np_error = NPERR_NO_ERROR;2381 gchar* filename = NULL;2382 2381 2383 2382 // If P_tmpdir does not exist, try /tmp directly … … 2568 2567 // handles. 2569 2568 #ifdef LEGACY_XULRUNNERAPI 2570 char* 2569 char* 2571 2570 #else 2572 const char* 2571 const char* 2573 2572 #endif 2574 2573 OSCALL NP_GetMIMEDescription ()
Note:
See TracChangeset
for help on using the changeset viewer.