Skip to content

Instantly share code, notes, and snippets.

@onlyshk
Created August 11, 2010 06:36
Show Gist options
  • Save onlyshk/518586 to your computer and use it in GitHub Desktop.
Save onlyshk/518586 to your computer and use it in GitHub Desktop.
GFile* file = g_file_new_for_path (image_list_get_current_file_path (mw->img_list));
mw->monitor = g_file_monitor_directory(NULL,G_FILE_MONITOR_NONE,NULL,NULL);
g_signal_connect (mw->monitor, "changed", G_CALLBACK (directory_monitor_changed), mw);
g_object_unref (file);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment