diff --git a/src/core/window-private.h b/src/core/window-private.h
index 0c372c0..7dd049c 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -604,9 +604,6 @@ void meta_window_update_keyboard_move   (MetaWindow *window);
 
 void meta_window_update_layer (MetaWindow *window);
 
-gboolean meta_window_get_icon_geometry (MetaWindow    *window,
-                                        MetaRectangle *rect);
-
 void meta_window_recalc_features    (MetaWindow *window);
 
 void meta_window_recalc_window_type (MetaWindow *window);
diff --git a/src/include/window.h b/src/include/window.h
index a3c909a..b59a212 100644
--- a/src/include/window.h
+++ b/src/include/window.h
@@ -97,5 +97,7 @@ void meta_window_set_compositor_private (MetaWindow *window, GObject *priv);
 void meta_window_configure_notify (MetaWindow *window, XConfigureEvent *event);
 const char *meta_window_get_role (MetaWindow *window);
 MetaStackLayer meta_window_get_layer (MetaWindow *window);
+gboolean meta_window_get_icon_geometry (MetaWindow    *window,
+                                        MetaRectangle *rect);
 
 #endif
