forked from AuroraMiddleware/gtk
immulticontext: Avoid GdkScreen api
No need for it here either.
This commit is contained in:
parent
297889e080
commit
9e5f4f94b3
@ -306,8 +306,7 @@ gtk_im_multicontext_set_client_widget (GtkIMContext *context,
|
|||||||
|
|
||||||
if (widget)
|
if (widget)
|
||||||
{
|
{
|
||||||
screen = gtk_widget_get_screen (widget);
|
settings = gtk_widget_get_settings (widget);
|
||||||
settings = gtk_settings_get_for_screen (screen);
|
|
||||||
|
|
||||||
connected = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (settings),
|
connected = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (settings),
|
||||||
"gtk-im-module-connected"));
|
"gtk-im-module-connected"));
|
||||||
|
Loading…
Reference in New Issue
Block a user