diff options
Diffstat (limited to 'tests/test4/test4.c')
-rw-r--r-- | tests/test4/test4.c | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/tests/test4/test4.c b/tests/test4/test4.c index 4d7f1c5..e5bca86 100644 --- a/tests/test4/test4.c +++ b/tests/test4/test4.c @@ -1,11 +1,22 @@ +#include <gtk/gtk.h> +//#include <locale.h> +int main (int argc, char **argv) +{ + GtkWidget *mainwin; -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <signal.h> - -#include <pulse/pulseaudio.h> -#include <pulse/glib-mainloop.h> - + /* Initialize i18n support */ + //setlocale(LC_ALL, ""); //(implicite) + /* Initialize the widget set */ + gtk_init (&argc, &argv); + /* Create the main window */ + mainwin = gtk_window_new (GTK_WINDOW_TOPLEVEL); + /* Set up our GUI elements */ + //... + /* Show the application window */ + gtk_widget_show_all (mainwin); + /* Enter the main event loop, and wait for user interaction */ + gtk_main (); + /* The user lost interest */ + return 0; +} |