Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
This commit is contained in:
		 Matthias Clasen
					Matthias Clasen
				
			
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			 Matthias Clasen
						Matthias Clasen
					
				
			
						parent
						
							7854bd1b6e
						
					
				
				
					commit
					721c3bc101
				
			| @ -168,7 +168,7 @@ main (int argc, char *argv[]) | ||||
|   g_signal_connect (button, "realize", G_CALLBACK (gtk_widget_grab_focus), NULL); | ||||
|   gtk_window_set_default_size (GTK_WINDOW (window), 300, 400); | ||||
|   gtk_widget_show_all (window); | ||||
|   g_timeout_add (1000, (GSourceFunc) futz, NULL); | ||||
|   gdk_threads_add_timeout (1000, (GSourceFunc) futz, NULL); | ||||
|   gtk_main (); | ||||
|   return 0; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user