comparison audacious/mainwin.c @ 1829:e4e4fadfb2a9 trunk

[svn] - fixes for resize bug
author nenolod
date Thu, 05 Oct 2006 07:39:43 -0700
parents b469c6c567a4
children fab086733722
comparison
equal deleted inserted replaced
1828:b469c6c567a4 1829:e4e4fadfb2a9
958 bmp_active_skin->properties.mainwin_width, 958 bmp_active_skin->properties.mainwin_width,
959 bmp_active_skin->properties.mainwin_height, 959 bmp_active_skin->properties.mainwin_height,
960 bmp_active_skin->properties.mainwin_width, 960 bmp_active_skin->properties.mainwin_width,
961 bmp_active_skin->properties.mainwin_height, 961 bmp_active_skin->properties.mainwin_height,
962 GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE); 962 GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE);
963 gtk_window_resize(GTK_WINDOW(mainwin), bmp_active_skin->properties.mainwin_width, 963 gdk_window_resize(mainwin->window, bmp_active_skin->properties.mainwin_width,
964 bmp_active_skin->properties.mainwin_height); 964 bmp_active_skin->properties.mainwin_height);
965 gtk_window_present(GTK_WINDOW(mainwin)); 965 gdk_flush();
966 } 966 }
967 967
968 /* visibility attributes */ 968 /* visibility attributes */
969 if (bmp_active_skin->properties.mainwin_menurow_visible) 969 if (bmp_active_skin->properties.mainwin_menurow_visible)
970 widget_show(WIDGET(mainwin_menurow)); 970 widget_show(WIDGET(mainwin_menurow));