summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentmanager.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-05-12 09:47:58 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-05-12 09:47:58 +0000
commitc459feaab114cecd04266050375badb7b58735c7 (patch)
treeb6f0c5f24be1495685977f8ea707468169b1d167 /gtk/gtkrecentmanager.c
parentdc918cbf7594de9c5f23ddb1bae253b4a6b8cd74 (diff)
downloadgtk+-c459feaab114cecd04266050375badb7b58735c7.tar.gz
Fix build errors.
2006-05-12 Alexander Larsson <alexl@redhat.com> * gtk/gtkrecentmanager.c: Fix build errors. * gtk/gtk.symbols: * demos/gtk-demo/printing.c: * gtk/gtkprintoperation-win32.c: * gtk/gtkprintoperation.[ch]: * gtk/gtkprintsettings.[ch]: * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * tests/testprintfileoperation.c: Rename functions from nr_of_pages to n_pages, and num_copies to n_copies to match other gtk+ names. * gtk/gtkmenu.c: (gtk_menu_popdown): Only re-set window group on popdown if we set it on popup (i.e. if there is a parent menu shell). Fixed part of bug #340401 * gtk/gtkwindow.c: Add (contruct) property "transient-for" to GtkWindow. This is needed for the fix to bug #340401. * gtk/gtkprintunixdialog.c: Use the transient-for property on construction and populate the dialog with widgets after that. This fixes bug #340401. More n_pages renames.
Diffstat (limited to 'gtk/gtkrecentmanager.c')
-rw-r--r--gtk/gtkrecentmanager.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index 371db0ff7a..54110ec80c 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -830,7 +830,7 @@ gtk_recent_manager_get_limit (GtkRecentManager *manager)
*/
gboolean
gtk_recent_manager_add_item (GtkRecentManager *manager,
- const gchar *uri);
+ const gchar *uri)
{
GtkRecentData *recent_data;
GError *add_error;
@@ -916,8 +916,7 @@ gtk_recent_manager_add_item (GtkRecentManager *manager,
gboolean
gtk_recent_manager_add_full (GtkRecentManager *manager,
const gchar *uri,
- const GtkRecentData *data,
- GError **error)
+ const GtkRecentData *data)
{
GtkRecentManagerPrivate *priv;
@@ -959,7 +958,7 @@ gtk_recent_manager_add_full (GtkRecentManager *manager,
{
g_warning ("Attempting to add `%s' to the list of recently used "
"resources, but no name of the application that is "
- "registering it was defined"
+ "registering it was defined",
uri);
return FALSE;
}