[gnome-control-center/gnome-3-8] printers: Replace deprecated function
- From: Marek Kašík <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-8] printers: Replace deprecated function
- Date: Wed, 15 May 2013 11:14:00 +0000 (UTC)
commit adef6138973d9bd4d05753e89174e4f40f1f6fd1
Author: Marek Kasik <mkasik redhat com>
Date: Thu Mar 28 12:09:57 2013 +0100
printers: Replace deprecated function
Use gtk_container_add() instead of deprecated
gtk_scrolled_window_add_with_viewport().
https://bugzilla.gnome.org/show_bug.cgi?id=696766
panels/printers/pp-options-dialog.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/panels/printers/pp-options-dialog.c b/panels/printers/pp-options-dialog.c
index 300ede9..a2860dd 100644
--- a/panels/printers/pp-options-dialog.c
+++ b/panels/printers/pp-options-dialog.c
@@ -423,8 +423,7 @@ tab_add (const gchar *tab_name,
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolled_window),
- grid);
+ gtk_container_add (GTK_CONTAINER (scrolled_window), grid);
id = gtk_notebook_append_page (GTK_NOTEBOOK (options_notebook),
scrolled_window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]