• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A multilingual input method framework


Commit MetaInfo

Révisiond5cd4b98fac576e03a4003cf24e5c7f07b00303e (tree)
l'heure2014-01-20 15:30:31
Auteure-kato <ek.kato@gmai...>
Commitere-kato

Message de Log

Add check for GtkTreeView.
* gtk2/immodule/uim-cand-win-gtk.c

- (uim_cand_win_gtk_layout) : Only call gtk_widget_queue_resize()
for GtkTreeView.

Change Summary

Modification

--- a/gtk2/immodule/uim-cand-win-gtk.c
+++ b/gtk2/immodule/uim-cand-win-gtk.c
@@ -728,7 +728,8 @@ uim_cand_win_gtk_layout(UIMCandWinGtk *cwin,
728728
729729 #if GTK_CHECK_VERSION(3, 0, 0)
730730 #if GTK_CHECK_VERSION(3, 7, 8)
731- gtk_widget_queue_resize(GTK_WIDGET(cwin->view));
731+ if (GTK_IS_TREE_VIEW(cwin->view))
732+ gtk_widget_queue_resize(GTK_WIDGET(cwin->view));
732733 #endif
733734 gtk_widget_get_preferred_size(GTK_WIDGET(cwin), &req, NULL);
734735 #else