avoid a cast
This commit is contained in:
parent
9202f926f6
commit
1802ad4beb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue