Ticket #43804: patch-session.c.diff
File patch-session.c.diff, 1.2 KB (added by harciga, 10 years ago) |
---|
-
session.c
old new 43 43 } 44 44 } 45 45 46 IGNORE_DEPRECATED 47 46 48 girara_session_t* 47 49 girara_session_create() 48 50 { … … 117 119 session->gtk.tabs = GTK_NOTEBOOK(gtk_notebook_new()); 118 120 119 121 /* deprecated members */ 120 IGNORE_DEPRECATED121 122 session->settings = session->private_data->settings; 122 123 session->global.command_history = girara_get_command_history(session); 123 UNIGNORE124 124 125 125 return session; 126 126 } 127 127 128 UNIGNORE 129 128 130 bool 129 131 girara_session_init(girara_session_t* session, const char* sessionname) 130 132 { … … 418 420 g_slice_free(girara_session_private_t, session); 419 421 } 420 422 423 IGNORE_DEPRECATED 424 421 425 bool 422 426 girara_session_destroy(girara_session_t* session) 423 427 { … … 487 491 /* clean up private data */ 488 492 girara_session_private_free(session->private_data); 489 493 session->private_data = NULL; 490 IGNORE_DEPRECATED491 494 session->settings = NULL; 492 UNIGNORE493 495 494 496 /* clean up session */ 495 497 g_slice_free(girara_session_t, session); … … 497 499 return TRUE; 498 500 } 499 501 502 UNIGNORE 503 500 504 char* 501 505 girara_buffer_get(girara_session_t* session) 502 506 {