PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/tutorial/plugin/mini_gtk/plugin/c/mini_gtk.c

http://github.com/tybor/Liberty
C | 13 lines | 9 code | 2 blank | 2 comment | 0 complexity | 9085a20b31ae536e570bf0ed0cff794e MD5 | raw file
 1int mini_gtk_init( int   argc,
 2          char *argv[] )
 3{
 4    /* This is called in all GTK applications. Arguments are parsed
 5     * from the command line and are returned to the application. */
 6    gtk_init (&argc, &argv);
 7
 8    return argc;
 9}
10
11void callback_agent(GtkObject *object, gpointer user_data) {
12  mini_gtk_launch_routine(mini_gtk_agent_launcher(), user_data);
13}