Diff of /trunk/src/notes.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8 by harbaum, Thu Jun 25 19:08:48 2009 UTC revision 11 by harbaum, Fri Jun 26 12:24:24 2009 UTC
# Line 520  static gboolean focus_in(GtkWidget *widg Line 520  static gboolean focus_in(GtkWidget *widg
520  #endif  #endif
521    
522  GtkWidget *cache_notes(cache_context_t *context) {  GtkWidget *cache_notes(cache_context_t *context) {
   appdata_t *appdata = context->appdata;  
523    cache_t *cache = context->cache;    cache_t *cache = context->cache;
524    
525    context->notes.modified = FALSE;    context->notes.modified = FALSE;
# Line 618  GtkWidget *cache_notes(cache_context_t * Line 617  GtkWidget *cache_notes(cache_context_t *
617    
618  #ifndef NO_COPY_N_PASTE  #ifndef NO_COPY_N_PASTE
619    g_signal_connect(G_OBJECT(view), "focus-in-event",    g_signal_connect(G_OBJECT(view), "focus-in-event",
620                     G_CALLBACK(focus_in), appdata);                     G_CALLBACK(focus_in), context->appdata);
621    g_signal_connect(G_OBJECT(view), "destroy",    g_signal_connect(G_OBJECT(view), "destroy",
622                     G_CALLBACK(on_destroy_textview), appdata);                     G_CALLBACK(on_destroy_textview), context->appdata);
623  #endif  #endif
624    
625  #ifndef USE_PANNABLE_AREA  #ifndef USE_PANNABLE_AREA

Legend:
Removed from v.8  
changed lines
  Added in v.11