1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <gtk/gtk.h> #include "logout-dialog.h" int main (int argc, char * argv[]) { gtk_init(&argc, &argv); GtkWidget * dialog = logout_dialog_new(LOGOUT_DIALOG_LOGOUT); gtk_dialog_run(GTK_DIALOG(dialog)); return 0; }