252 |
g_signal_connect_after (G_OBJECT (ptr), "realize", |
g_signal_connect_after (G_OBJECT (ptr), "realize", |
253 |
G_CALLBACK (connect_awt_hook_cb), *gref); |
G_CALLBACK (connect_awt_hook_cb), *gref); |
254 |
|
|
255 |
|
|
256 |
|
/* Realize the window here so that its frame extents are known now. |
257 |
|
That way Window.pack can operate with the accurate insets |
258 |
|
returned by the window manager rather than the default |
259 |
|
estimates. */ |
260 |
|
gtk_widget_realize (GTK_WIDGET (ptr)); |
261 |
|
|
262 |
gdk_threads_leave (); |
gdk_threads_leave (); |
263 |
} |
} |
264 |
|
|