ekiga r7351 - trunk/lib/engine/gui/gtk-frontend
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7351 - trunk/lib/engine/gui/gtk-frontend
- Date: Fri, 14 Nov 2008 22:48:18 +0000 (UTC)
Author: jpuydt
Date: Fri Nov 14 22:48:18 2008
New Revision: 7351
URL: http://svn.gnome.org/viewvc/ekiga?rev=7351&view=rev
Log:
Dirty patch to stop the crashing at startup... I still don't have the bug.
Modified:
trunk/lib/engine/gui/gtk-frontend/book-view-gtk.cpp
trunk/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
Modified: trunk/lib/engine/gui/gtk-frontend/book-view-gtk.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-frontend/book-view-gtk.cpp (original)
+++ trunk/lib/engine/gui/gtk-frontend/book-view-gtk.cpp Fri Nov 14 22:48:18 2008
@@ -331,7 +331,7 @@
contact->populate_menu (builder);
}
- gmref_dec (contact);
+ //gmref_dec (contact);
}
}
gtk_tree_path_free (path);
@@ -422,7 +422,7 @@
if (iter_contact == &*contact)
found = TRUE;
- gmref_dec (iter_contact);
+ //gmref_dec (iter_contact);
} while (!found && gtk_tree_model_iter_next (model, iter));
}
@@ -657,7 +657,7 @@
item = gtk_separator_menu_item_new ();
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
contact->populate_menu (builder);
- gmref_dec (contact);
+ //gmref_dec (contact);
}
}
}
Modified: trunk/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp (original)
+++ trunk/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp Fri Nov 14 22:48:18 2008
@@ -527,7 +527,7 @@
&& (presentity->get_presence () == "offline"
|| presentity->get_presence () == "unknown"))
offline_count++;
- gmref_dec (presentity);
+ //gmref_dec (presentity);
} while (gtk_tree_model_iter_next (model, &loop_iter));
}
@@ -652,8 +652,8 @@
}
g_free (name);
- gmref_dec (heap);
- gmref_dec (presentity);
+ //gmref_dec (heap);
+ //gmref_dec (presentity);
} else {
g_signal_emit (self, signals[PRESENTITY_SELECTED_SIGNAL], 0, NULL);
@@ -724,8 +724,8 @@
break; // shouldn't happen
}
g_free (name);
- gmref_dec (heap);
- gmref_dec (presentity);
+ //gmref_dec (heap);
+ //gmref_dec (presentity);
}
gtk_tree_path_free (path);
}
@@ -1115,7 +1115,7 @@
gtk_tree_model_get (model, iter, COLUMN_HEAP, &iter_heap, -1);
if (iter_heap == &*heap)
found = TRUE;
- gmref_dec (iter_heap);
+ //gmref_dec (iter_heap);
} while (!found && gtk_tree_model_iter_next (model, iter));
}
@@ -1180,7 +1180,7 @@
gtk_tree_model_get (model, iter, COLUMN_PRESENTITY, &iter_presentity, -1);
if (iter_presentity == &*presentity)
found = TRUE;
- gmref_dec (iter_presentity);
+ //gmref_dec (iter_presentity);
} while (!found && gtk_tree_model_iter_next (model, iter));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]