gnome-terminal r2892 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2892 - trunk/src
- Date: Sun, 15 Jun 2008 20:44:19 +0000 (UTC)
Author: chpe
Date: Sun Jun 15 20:44:19 2008
New Revision: 2892
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2892&view=rev
Log:
Code style cleanup.
Modified:
trunk/src/terminal-app.c
Modified: trunk/src/terminal-app.c
==============================================================================
--- trunk/src/terminal-app.c (original)
+++ trunk/src/terminal-app.c Sun Jun 15 20:44:19 2008
@@ -226,8 +226,7 @@
static void
terminal_app_delete_profile (TerminalApp *app,
- TerminalProfile *profile,
- GtkWindow *transient_parent)
+ TerminalProfile *profile)
{
GHashTableIter iter;
GSList *name_list;
@@ -241,12 +240,12 @@
name_list = NULL;
g_hash_table_iter_init (&iter, app->profiles);
while (g_hash_table_iter_next (&iter, (gpointer*) &name, NULL))
- {
- if (strcmp (name, profile_name) == 0)
- continue;
+ {
+ if (strcmp (name, profile_name) == 0)
+ continue;
- name_list = g_slist_prepend (name_list, g_strdup (name));
- }
+ name_list = g_slist_prepend (name_list, g_strdup (name));
+ }
gconf_client_set_list (app->conf,
CONF_GLOBAL_PREFIX"/profile_list",
@@ -305,7 +304,7 @@
return retval;
}
-static GtkTreeModel *
+static /* ref */ GtkTreeModel *
terminal_app_get_profile_liststore (TerminalApp *app,
TerminalProfile *selected_profile,
GtkTreeIter *selected_profile_iter,
@@ -522,8 +521,7 @@
g_assert (profile != NULL);
if (response == GTK_RESPONSE_ACCEPT)
- terminal_app_delete_profile (app, profile,
- gtk_window_get_transient_for (GTK_WINDOW (dialog)));
+ terminal_app_delete_profile (app, profile);
gtk_widget_destroy (dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]