gnome-terminal r2674 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2674 - trunk/src
- Date: Thu, 29 May 2008 19:44:07 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:44:07 2008
New Revision: 2674
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2674&view=rev
Log:
Add missing property notification.
Modified:
trunk/src/terminal-app.c
Modified: trunk/src/terminal-app.c
==============================================================================
--- trunk/src/terminal-app.c (original)
+++ trunk/src/terminal-app.c Thu May 29 19:44:07 2008
@@ -197,8 +197,7 @@
{
TerminalProfile *profile;
- profile = terminal_app_get_profile_by_name (app, name);
- g_return_val_if_fail (profile == NULL, profile); /* FIXMEchpe can this happen? */
+ g_assert (terminal_app_get_profile_by_name (app, name) == NULL);
profile = _terminal_profile_new (name);
@@ -213,6 +212,7 @@
{
/* We are the default profile */
app->default_profile = profile;
+ g_object_notify (G_OBJECT (app), "default-profile");
}
return profile;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]