X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-document-transition.c;h=d365ff41415378a050c47feefb55cb9aee30880d;hb=6fbe8c7d3aa54b7baf0db9373f53d94ddefab457;hp=c8d136a2d2e8cef320567c04dd662117eb1fe783;hpb=f792ebcef8eab6e0b8fc5ff185851d038afbab56;p=evince.git diff --git a/libdocument/ev-document-transition.c b/libdocument/ev-document-transition.c index c8d136a2..d365ff41 100644 --- a/libdocument/ev-document-transition.c +++ b/libdocument/ev-document-transition.c @@ -15,30 +15,17 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "ev-document-transition.h" -GType -ev_document_transition_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) { - const GTypeInfo our_info = { - sizeof (EvDocumentTransitionIface), - NULL, - NULL, - }; +EV_DEFINE_INTERFACE (EvDocumentTransition, ev_document_transition, 0) - type = g_type_register_static (G_TYPE_INTERFACE, - "EvDocumentTransition", - &our_info, (GTypeFlags)0); - } - - return type; +static void +ev_document_transition_class_init (EvDocumentTransitionIface *klass) +{ } gdouble