diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp index 64f72a61c01..de93b23cd1b 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -1757,7 +1757,7 @@ int xre_main(int argc, char* argv[], const nsXREAppData* aAppData) #if defined(MOZ_WIDGET_GTK) gtk_set_locale(); #endif - gtk_init(&argc, &argv); + gtk_init(&gArgc, &gArgv); gtk_widget_set_default_visual(gdk_rgb_get_visual()); gtk_widget_set_default_colormap(gdk_rgb_get_cmap());