Skip to content

Instantly share code, notes, and snippets.

@mattikus
Created January 8, 2009 07:41
Show Gist options
  • Save mattikus/44633 to your computer and use it in GitHub Desktop.
Save mattikus/44633 to your computer and use it in GitHub Desktop.
/*
gcc `pkg-config --cflags gtk+-2.0` -o looptest looptest.c `pkg-config --libs
gtk+-2.0`
*/
#include <gtk/gtkmain.h>
int main()
{
if (!gtk_clipboard_get(GDK_SELECTION_PRIMARY))
gtk_init(0,0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment