summaryrefslogtreecommitdiff
path: root/src/procdialogs.cpp
diff options
context:
space:
mode:
authorChris Kühl <[email protected]>2011-01-26 14:12:09 +0100
committerBenjamin Valentin <[email protected]>2012-03-17 16:45:45 +0100
commited0b5b561f7adada1e62041d29edd18612d42ea8 (patch)
tree84468cef7ccff599ffca5c0d82137dfda6495d95 /src/procdialogs.cpp
parenta43f2684570c10f3c5ee2f32b41065c9d2f2f14e (diff)
downloadmate-system-monitor-ed0b5b561f7adada1e62041d29edd18612d42ea8.tar.bz2
mate-system-monitor-ed0b5b561f7adada1e62041d29edd18612d42ea8.tar.xz
Replaced occurances of gtk_dialog_set_has_separator with g_object_set.
Diffstat (limited to 'src/procdialogs.cpp')
-rw-r--r--src/procdialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/procdialogs.cpp b/src/procdialogs.cpp
index fef8b5f..2d0de35 100644
--- a/src/procdialogs.cpp
+++ b/src/procdialogs.cpp
@@ -178,7 +178,7 @@ procdialog_create_renice_dialog (ProcData *procdata)
NULL);
renice_dialog = dialog;
gtk_window_set_resizable (GTK_WINDOW (renice_dialog), FALSE);
- gtk_dialog_set_has_separator (GTK_DIALOG (renice_dialog), FALSE);
+ g_object_set (G_OBJECT (renice_dialog), "has-separator", FALSE, NULL);
gtk_container_set_border_width (GTK_CONTAINER (renice_dialog), 5);
button = gtk_button_new ();
@@ -510,7 +510,7 @@ procdialog_create_preferences_dialog (ProcData *procdata)
/* any function to set list height by contents/items inside it. */
gtk_window_set_default_size (GTK_WINDOW (dialog), 400, 420);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
- gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+ g_object_set (G_OBJECT (dialog), "has-separator", FALSE, NULL);
prefs_dialog = dialog;
main_vbox = gtk_dialog_get_content_area (GTK_DIALOG (dialog));