Ticket #43804: patch-session.c.diff

File patch-session.c.diff, 1.2 KB (added by harciga, 10 years ago)
  • session.c

    old new  
    4343  }
    4444}
    4545
     46IGNORE_DEPRECATED
     47
    4648girara_session_t*
    4749girara_session_create()
    4850{
     
    117119  session->gtk.tabs              = GTK_NOTEBOOK(gtk_notebook_new());
    118120
    119121  /* deprecated members */
    120   IGNORE_DEPRECATED
    121122  session->settings               = session->private_data->settings;
    122123  session->global.command_history = girara_get_command_history(session);
    123   UNIGNORE
    124124
    125125  return session;
    126126}
    127127
     128UNIGNORE
     129
    128130bool
    129131girara_session_init(girara_session_t* session, const char* sessionname)
    130132{
     
    418420  g_slice_free(girara_session_private_t, session);
    419421}
    420422
     423IGNORE_DEPRECATED
     424
    421425bool
    422426girara_session_destroy(girara_session_t* session)
    423427{
     
    487491  /* clean up private data */
    488492  girara_session_private_free(session->private_data);
    489493  session->private_data = NULL;
    490   IGNORE_DEPRECATED
    491494  session->settings = NULL;
    492   UNIGNORE
    493495
    494496  /* clean up session */
    495497  g_slice_free(girara_session_t, session);
     
    497499  return TRUE;
    498500}
    499501
     502UNIGNORE
     503
    500504char*
    501505girara_buffer_get(girara_session_t* session)
    502506{