[gnome-contacts] Remove unused GtkNotification copy



commit ed4589c9ee48f676a29d7d3b6f0c9549480c6966
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Feb 7 09:24:52 2013 -0500

    Remove unused GtkNotification copy
    
    We always use the object from libgd now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693330

 src/Makefile.am        |    2 -
 src/gtk-notification.c |  954 ------------------------------------------------
 src/gtk-notification.h |   65 ----
 vapi/custom.vapi       |    9 +-
 4 files changed, 1 insertions(+), 1029 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index eac3553..4ee369d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -64,7 +64,6 @@ contact-resources.c: contacts.gresource.xml app-menu.ui
 gnome_contacts_SOURCES = \
 	um-crop-area.c \
 	contact-resources.c \
-	gtk-notification.c   \
 	listbox/egg-list-box.c \
 	contacts-esd-setup.c \
 	$(vala_sources) \
@@ -102,7 +101,6 @@ EXTRA_DIST = \
 	listbox/egglistbox.vapi \
 	cheese-flash.h \
 	um-crop-area.h \
-	gtk-notification.h   \
 	contacts.gresource.xml \
 	app-menu.ui \
 	$(gsettingsschema_in_files)     \
diff --git a/vapi/custom.vapi b/vapi/custom.vapi
index 9a9fefb..caf4be8 100644
--- a/vapi/custom.vapi
+++ b/vapi/custom.vapi
@@ -39,15 +39,8 @@ namespace Contacts {
 	public static E.SourceRegistry eds_source_registry;
 }
 
-[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_", cheader_filename = "gtk-notification.h")]
+[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_", cheader_filename = "gtk/gtk.h")]
 namespace Gtk {
-	public class Notification : Gtk.Box {
-		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public Notification ();
-		public void set_timeout (uint timeout_msec);
-		public void dismiss ();
-		public virtual signal void dismissed ();
-	}
 	[CCode (cname = "gtk_builder_add_from_resource")]
 	public static unowned uint my_builder_add_from_resource (Gtk.Builder builder, string path) throws GLib.Error;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]