#include <gtk/gtk.h>

int main(int argc, char **argv)
{
  gtk_init(&argc, &argv);
  GtkWidget *win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  g_signal_connect(G_OBJECT(win), "destroy", G_CALLBACK(gtk_main_quit), NULL);
  gtk_widget_show(win);
  GtkStatusIcon *icon = gtk_status_icon_new_from_stock(GTK_STOCK_QUIT);
  gtk_status_icon_set_visible(icon, TRUE);
  gtk_main();
  return 0;
}

