Update show example
				
					
				
			This commit is contained in:
		
							parent
							
								
									4fa9d1d959
								
							
						
					
					
						commit
						e2a758d947
					
				| @ -2,6 +2,8 @@ extern crate libnotify; | ||||
| 
 | ||||
| fn main() { | ||||
|     let notify = libnotify::Context::new("hello").unwrap(); | ||||
|     let n = notify.new_notification("Hello, ", Some("World!"), None).unwrap(); | ||||
|     let n = notify.new_notification("This is the summary.", | ||||
|                                     Some("This is the optional body text."), | ||||
|                                     None).unwrap(); | ||||
|     n.show().unwrap(); | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mika Attila
						Mika Attila