mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
parent
6638d0e507
commit
90f21fa5db
@ -72,7 +72,7 @@ meta_preview_class_init (MetaPreviewClass *class)
|
||||
GtkWidgetClass *widget_class;
|
||||
|
||||
widget_class = (GtkWidgetClass*) class;
|
||||
parent_class = gtk_type_class (GTK_TYPE_BIN);
|
||||
parent_class = g_type_class_peek (GTK_TYPE_BIN);
|
||||
|
||||
gobject_class->finalize = meta_preview_finalize;
|
||||
|
||||
|
@ -69,7 +69,7 @@ meta_area_class_init (MetaAreaClass *class)
|
||||
|
||||
object_class = (GtkObjectClass*) class;
|
||||
widget_class = (GtkWidgetClass*) class;
|
||||
parent_class = gtk_type_class (gtk_misc_get_type ());
|
||||
parent_class = g_type_class_peek (gtk_misc_get_type ());
|
||||
|
||||
gobject_class->finalize = meta_area_finalize;
|
||||
|
||||
|
@ -656,7 +656,7 @@ meta_ui_window_should_not_cause_focus (Display *xdisplay,
|
||||
/* we shouldn't cause focus if we're an override redirect
|
||||
* toplevel which is not foreign
|
||||
*/
|
||||
if (window && gdk_window_get_type (window) == GDK_WINDOW_TEMP)
|
||||
if (window && gdk_window_get_window_type (window) == GDK_WINDOW_TEMP)
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user