diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-15 00:16:48 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-15 00:16:48 +0000 |
| commit | 901027a9b2ef18744d9fef25723018226c80809d (patch) | |
| tree | 1e3b3e1334421c6db927ad01f27ae9528fd80f7e /src/text-context.cpp | |
| parent | Remove deprecated glib macro wrappers (diff) | |
| parent | Clean up deprecated GTK_WIDGET API (diff) | |
| download | inkscape-901027a9b2ef18744d9fef25723018226c80809d.tar.gz inkscape-901027a9b2ef18744d9fef25723018226c80809d.zip | |
Clean up deprecated GTK_WIDGET API
(bzr r10305)
Diffstat (limited to 'src/text-context.cpp')
| -rw-r--r-- | src/text-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp index a7c6772e5..b709d4d24 100644 --- a/src/text-context.cpp +++ b/src/text-context.cpp @@ -234,7 +234,7 @@ sp_text_context_setup(SPEventContext *ec) g_signal_connect(G_OBJECT(canvas), "focus_out_event", G_CALLBACK(sptc_focus_out), tc); g_signal_connect(G_OBJECT(tc->imc), "commit", G_CALLBACK(sptc_commit), tc); - if (GTK_WIDGET_HAS_FOCUS(canvas)) { + if (gtk_widget_has_focus(canvas)) { sptc_focus_in(canvas, NULL, tc); } } |
