gedit r6887 - in trunk: . gedit
- From: jessevdk svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6887 - in trunk: . gedit
- Date: Mon, 9 Feb 2009 16:39:02 +0000 (UTC)
Author: jessevdk
Date: Mon Feb 9 16:39:02 2009
New Revision: 6887
URL: http://svn.gnome.org/viewvc/gedit?rev=6887&view=rev
Log:
* gedit/gedit-window.c: use gedit_document_set_language instead of
gtk_source_buffer_set_language (so that it is correctly stored in
the metadata)
Modified:
trunk/ChangeLog
trunk/gedit/gedit-window.c
Modified: trunk/gedit/gedit-window.c
==============================================================================
--- trunk/gedit/gedit-window.c (original)
+++ trunk/gedit/gedit-window.c Mon Feb 9 16:39:02 2009
@@ -1801,7 +1801,7 @@
language = GTK_SOURCE_LANGUAGE (g_object_get_data (G_OBJECT (item), LANGUAGE_DATA));
g_signal_handler_block (doc, window->priv->language_changed_id);
- gtk_source_buffer_set_language (GTK_SOURCE_BUFFER (doc), language);
+ gedit_document_set_language (doc, language);
g_signal_handler_unblock (doc, window->priv->language_changed_id);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]