Searched refs:widget_dir (Results 1 – 2 of 2) sorted by relevance
682 GtkTextDirection widget_dir = gtk_widget_get_direction(text_entry_); in AdjustTextAlignment() local691 if (widget_dir == GTK_TEXT_DIR_RTL) in AdjustTextAlignment()698 if ((widget_dir == GTK_TEXT_DIR_RTL && content_dir == PANGO_DIRECTION_LTR) || in AdjustTextAlignment()699 (widget_dir == GTK_TEXT_DIR_LTR && content_dir == PANGO_DIRECTION_RTL)) { in AdjustTextAlignment()
2128 GtkTextDirection widget_dir = gtk_widget_get_direction(text_view_); in AdjustTextJustification() local2130 if ((widget_dir == GTK_TEXT_DIR_RTL && content_dir == PANGO_DIRECTION_LTR) || in AdjustTextJustification()2131 (widget_dir == GTK_TEXT_DIR_LTR && content_dir == PANGO_DIRECTION_RTL)) { in AdjustTextJustification()