projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kdbus] KDBUS_ITEM_PAYLOAD_OFF items are (once again) relative to msg header
[platform/upstream/glib.git]
/
tests
/
gobject
/
performance-threaded.c
diff --git
a/tests/gobject/performance-threaded.c
b/tests/gobject/performance-threaded.c
index
56a21eb
..
af6424c
100644
(file)
--- a/
tests/gobject/performance-threaded.c
+++ b/
tests/gobject/performance-threaded.c
@@
-12,9
+12,7
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <math.h>
*/
#include <math.h>
@@
-340,8
+338,6
@@
main (int argc,
GError *error = NULL;
int i;
GError *error = NULL;
int i;
- g_type_init ();
-
context = g_option_context_new ("GObject performance tests");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
context = g_option_context_new ("GObject performance tests");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
@@
-359,9
+355,6
@@
main (int argc,
return 0;
}
return 0;
}
- if (n_threads)
- g_thread_init (NULL);
-
if (argc > 1)
{
for (i = 1; i < argc; i++)
if (argc > 1)
{
for (i = 1; i < argc; i++)