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.
This commit is contained in:
committed by
Alexander Larsson
parent
dc918cbf75
commit
c459feaab1
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user