~gnaservicesinc/tpad-project/6.x

« back to all changes in this revision

Viewing changes to src/tpad_buff.c

  • Committer: Andrew Joseph Smith
  • Date: 2016-08-11 02:07:54 UTC
  • Revision ID: andrew@gnaservicesinc.com-20160811020754-xbyktseivjmbuut5
Mis bug fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
extern GtkWidget *window;
24
24
extern GtkSourceBuffer *mBuff;
25
25
extern GtkSourceView *view;
26
 
//extern gchar *content;
27
26
extern int tpad_text_buffer_ini_check;
28
27
#ifndef _TPAD_TEXT_BUFF_DS_
29
28
#define _TPAD_TEXT_BUFF_DS_
154
153
//return( (tpad_buff_search(key,global_text_buffs))->buffer);
155
154
}
156
155
void set_buffer(){
 
156
 
157
157
            gtk_source_buffer_begin_not_undoable_action(GTK_SOURCE_BUFFER(mBuff));
158
158
                gtk_text_buffer_set_text(GTK_TEXT_BUFFER(mBuff),content,-1);
159
159
        //g_free(content);