Lines 38-43
Link Here
|
38 |
#include "config.h" |
38 |
#include "config.h" |
39 |
|
39 |
|
40 |
#include <glib.h> |
40 |
#include <glib.h> |
|
|
41 |
#include <glib/gi18n-lib.h> |
41 |
|
42 |
|
42 |
#include "rl-list.h" |
43 |
#include "rl-list.h" |
43 |
|
44 |
|
Lines 320-327
Link Here
|
320 |
&& child->name != NULL |
321 |
&& child->name != NULL |
321 |
&& xmlStrEqual (BAD_CAST "list", child->name)) { |
322 |
&& xmlStrEqual (BAD_CAST "list", child->name)) { |
322 |
|
323 |
|
323 |
gmref_ptr<List> list = new List (core, path, |
324 |
gmref_ptr<List> list = gmref_ptr<List> (new List (core, path, |
324 |
list_pos, display_name, child); |
325 |
list_pos, display_name, |
|
|
326 |
child)); |
325 |
list->entry_added.connect (entry_added.make_slot ()); |
327 |
list->entry_added.connect (entry_added.make_slot ()); |
326 |
list->entry_updated.connect (entry_updated.make_slot ()); |
328 |
list->entry_updated.connect (entry_updated.make_slot ()); |
327 |
list->entry_removed.connect (entry_removed.make_slot ()); |
329 |
list->entry_removed.connect (entry_removed.make_slot ()); |
Lines 336-343
Link Here
|
336 |
&& child->name != NULL |
338 |
&& child->name != NULL |
337 |
&& xmlStrEqual (BAD_CAST "entry", child->name)) { |
339 |
&& xmlStrEqual (BAD_CAST "entry", child->name)) { |
338 |
|
340 |
|
339 |
gmref_ptr<Entry> entry = new Entry (core, path, |
341 |
gmref_ptr<Entry> entry = gmref_ptr<Entry> (new Entry (core, path, |
340 |
entry_pos, display_name, child); |
342 |
entry_pos, |
|
|
343 |
display_name, |
344 |
child)); |
341 |
std::list<sigc::connection> conns; |
345 |
std::list<sigc::connection> conns; |
342 |
conns.push_back (entry->updated.connect (sigc::bind (entry_updated.make_slot (), entry))); |
346 |
conns.push_back (entry->updated.connect (sigc::bind (entry_updated.make_slot (), entry))); |
343 |
conns.push_back (entry->removed.connect (sigc::bind (entry_removed.make_slot (), entry))); |
347 |
conns.push_back (entry->removed.connect (sigc::bind (entry_removed.make_slot (), entry))); |