Fixed up some warnings.

Tue Dec 15 11:37:05 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c: Fixed up some warnings.

Tue Dec 15 10:32:01 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk{h,v,}paned.{c,h}: Add new functions
	gtk_paned_set_position(),
	gtk_paned_pack1/2(). The latter take a
	shrink and resize parameters, that allows setting
	minimum sizes and getting 'relative' resizing.
This commit is contained in:
Owen Taylor
1998-12-15 17:56:31 +00:00
committed by Owen Taylor
parent 1bf27c357d
commit cceabe57ba
14 changed files with 473 additions and 54 deletions

View File

@ -202,7 +202,7 @@ gtk_init (int *argc,
*/
gdk_init (argc, argv);
gdk_event_handler_set ((GdkEventFunc *)gtk_main_do_event, NULL, NULL);
gdk_event_handler_set ((GdkEventFunc)gtk_main_do_event, NULL, NULL);
#ifdef G_ENABLE_DEBUG
env_string = getenv ("GTK_DEBUG");
@ -538,7 +538,7 @@ gtk_main_iteration_do (gboolean blocking)
return g_main_iteration (blocking);
}
static void
void
gtk_main_do_event (GdkEvent *event)
{
GtkWidget *event_widget;