GNOME Bugzilla – Bug 732676
Pass the content type to RefreshDB
Last modified: 2014-07-07 11:57:56 UTC
Bug 728878 added content types as argument for the RefreshDB method call. We need to modify the relevant call in GNOME Photos, too.
Created attachment 279834 [details] [review] src: Pass the content type to RefreshDB
Review of attachment 279834 [details] [review]: Thanks for the patch, Saurav. ::: src/photos-application.c @@ +439,3 @@ cancellable = g_cancellable_new (); g_object_set_data_full (G_OBJECT (miner), "cancellable", cancellable, g_object_unref); + gom_miner_call_refresh_db (miner, &index_types[0], cancellable, photos_application_refresh_db, g_object_ref (self)); You could have just used 'index_types'. The array 'index_types' will automatically decay into a pointer when it is passed to the function. ::: src/photos-gom-miner.xml @@ +25,3 @@ <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> <interface name="org.gnome.OnlineMiners.Miner"> + <method name='RefreshDB'> Changing the quotes from double to single was not necessary.
Created attachment 280048 [details] [review] application: Pass "photos" as the index type to RefreshDB Corrected and pushed.