avoid a cast

This commit is contained in:
Daniel Micay 2012-06-02 05:28:56 -04:00
parent 9202f926f6
commit 1802ad4beb
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ static void window_title_cb(VteTerminal *vte, GtkWindow *window) {
}
#endif
static gboolean position_overlay_cb(GtkOverlay *overlay, GtkWidget *widget, GdkRectangle *alloc) {
GtkWidget *vte = gtk_bin_get_child(GTK_BIN(overlay));
static gboolean position_overlay_cb(GtkBin *overlay, GtkWidget *widget, GdkRectangle *alloc) {
GtkWidget *vte = gtk_bin_get_child(overlay);
int width = gtk_widget_get_allocated_width(vte);
int height = gtk_widget_get_allocated_height(vte);