Commit a101107d authored by Ignacio Casal Quinteiro's avatar Ignacio Casal Quinteiro Committed by Paolo Borelli

Override startup in win32 implementation

parent 44761794
......@@ -56,17 +56,6 @@ gedit_app_win32_help_link_id_impl (GeditApp *app,
}
}
static void
gedit_app_win32_class_init (GeditAppWin32Class *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GeditAppClass *app_class = GEDIT_APP_CLASS (klass);
object_class->finalize = gedit_app_win32_finalize;
app_class->help_link_id = gedit_app_win32_help_link_id_impl;
}
static void
setup_path (void)
{
......@@ -119,8 +108,10 @@ prep_console (void)
}
static void
gedit_app_win32_init (GeditAppWin32 *self)
gedit_app_win32_startup (GApplication *application)
{
G_APPLICATION_CLASS (gedit_app_win32_parent_class)->startup (application);
setup_path ();
prep_console ();
......@@ -129,4 +120,23 @@ gedit_app_win32_init (GeditAppWin32 *self)
gtk_window_set_default_icon_name ("accessories-text-editor");
}
static void
gedit_app_win32_class_init (GeditAppWin32Class *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GApplicationClass *gapp_class = G_APPLICATION_CLASS (klass);
GeditAppClass *app_class = GEDIT_APP_CLASS (klass);
object_class->finalize = gedit_app_win32_finalize;
gapp_class->startup = gedit_app_win32_startup;
app_class->help_link_id = gedit_app_win32_help_link_id_impl;
}
static void
gedit_app_win32_init (GeditAppWin32 *self)
{
}
/* ex:set ts=8 noet: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment