~ubuntu-branches/ubuntu/oneiric/evince/oneiric-updates

« back to all changes in this revision

Viewing changes to shell/ev-sidebar-page.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2011-04-14 16:20:57 UTC
  • mfrom: (1.6.4 upstream)
  • mto: (1.3.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 138.
  • Revision ID: james.westby@ubuntu.com-20110414162057-0ofhbd139zs6ev6y
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *
15
15
 *  You should have received a copy of the GNU General Public License
16
16
 *  along with this program; if not, write to the Free Software
17
 
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
18
 *
19
19
 */
20
20
 
26
26
 
27
27
#include "ev-sidebar-page.h"
28
28
 
29
 
EV_DEFINE_INTERFACE (EvSidebarPage, ev_sidebar_page, 0)
 
29
G_DEFINE_INTERFACE (EvSidebarPage, ev_sidebar_page, 0)
30
30
 
31
31
gboolean 
32
32
ev_sidebar_page_support_document (EvSidebarPage *sidebar_page,
33
33
                                  EvDocument    *document)
34
34
{
35
 
        EvSidebarPageIface *iface;
 
35
        EvSidebarPageInterface *iface;
36
36
 
37
37
        g_return_val_if_fail (EV_IS_SIDEBAR_PAGE (sidebar_page), FALSE);
38
38
        g_return_val_if_fail (EV_IS_DOCUMENT (document), FALSE);
48
48
ev_sidebar_page_set_model (EvSidebarPage   *sidebar_page,
49
49
                           EvDocumentModel *model)
50
50
{
51
 
        EvSidebarPageIface *iface;
 
51
        EvSidebarPageInterface *iface;
52
52
 
53
53
        g_return_if_fail (EV_IS_SIDEBAR_PAGE (sidebar_page));
54
54
        g_return_if_fail (EV_IS_DOCUMENT_MODEL (model));
63
63
const gchar *
64
64
ev_sidebar_page_get_label (EvSidebarPage *sidebar_page)
65
65
{
66
 
        EvSidebarPageIface *iface;
 
66
        EvSidebarPageInterface *iface;
67
67
 
68
68
        g_return_val_if_fail (EV_IS_SIDEBAR_PAGE (sidebar_page), NULL);
69
69
 
76
76
 
77
77
 
78
78
static void
79
 
ev_sidebar_page_class_init (EvSidebarPageIface *iface)
 
79
ev_sidebar_page_default_init (EvSidebarPageInterface *iface)
80
80
{
81
81
        static gboolean initialized = FALSE;
82
82